At the Boost.Container website we can read this:
Boost.Container does not support initializer lists when constructing or assigning containers but it will support it for compilers with initialized-list support. (...)
Excuse me if I'm just dumb, but I don't really know how to read it. Does it mean that it will do that in unpredicted future, or should it work with conforming compilers right now?
I've tested it on GCC 4.7 and ICC 13.0, neither works, but I believe I could've missed something pretty important, like proper preprocessor definition?
Boost.Container from v1.52 currently doesn't have any initializer_list constructors. Unfortunately the only source I can give you is the fact I manually searched through the entire containers library source.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With