These comments were copied from the std::vector<bool> tests, but the
value_type is not bool in these ones.
libstdc++-v3/ChangeLog:
* testsuite/23_containers/vector/cons/from_range.cc: Fix copy &
paste error in comment.
* testsuite/23_containers/vector/modifiers/append_range.cc:
Likewise.
* testsuite/23_containers/vector/modifiers/assign/assign_range.cc:
Likewise.
* testsuite/23_containers/vector/modifiers/insert/insert_range.cc:
Likewise.
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
- // Not lvalue-convertible to bool
+ // Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
- // Not lvalue-convertible to bool
+ // Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
- // Not lvalue-convertible to bool
+ // Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
- // Not lvalue-convertible to bool
+ // Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }