Mentions légales du service

Skip to content
  • Quentin Khan's avatar
    Fix variadic_container initializer_list constructor · b46cb754
    Quentin Khan authored
    The intializer_list constructor of the container would forward the list
    to the ranged insert method. By design, and for efficiency reasons, this
    implementation of insert awaits tuples of iterators instead of iterator
    to tuples. This would fail to compile.
    
    The constructor now calls the insert overload for a value for each
    element of the initializer_list.
    
    Two static assertions are added to the ranged insert should the problem
    arise again.
    b46cb754