| 55 | std::string const s2; |
| 56 | |
| 57 | test_vectors() |
| 58 | : s1([&] |
| 59 | { |
| 60 | std::string s; |
| 61 | s.resize(string{}.capacity()); |
| 62 | std::iota(s.begin(), s.end(), 'a'); |
| 63 | return s; |
| 64 | }()) |
| 65 | , s2([&] |
| 66 | { |
| 67 | std::string s; |
| 68 | s.resize(string{}.capacity() + 1); |
| 69 | std::iota(s.begin(), s.end(), 'A'); |
| 70 | return s; |
| 71 | }()) |
| 72 | { |
| 73 | v1 = s1; |
| 74 | v2 = s2; |
| 75 | |
| 76 | BOOST_TEST(std::string(INIT1) == s1); |
| 77 | BOOST_TEST(std::string(INIT2) == s2); |
| 78 | } |
| 79 | }; |
| 80 | |
| 81 | static |