container: static_vector and type traits

MM via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CA+Jb2D0U6mnMof91GivngQOE=nWC1hxuPTVE5W+32Tv_LExmyA@mail.gmail.com>
Hello
Should static_vector be of standard layout and/or trivially copyable?
depending on the element type

I see this outputs false

std::cout <<
std::is_standard_layout_v<boost::container::static_vector<char,32>> <<
std::endl;
std::cout <<
std::is_trivially_copyable_v<boost::container::static_vector<char,32>> <<
std::endl;

Rds,

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.