inserting binary data in a STL List

is that a good practice?


typedef list<string, allocator<string> > LISTSTR;

LISTSTR BL;

how do would i insert a element with explicit lenght since binary data messes the null used to delimit c style strings...

i ve heard that stl::strings stores the lenght explicily without the need of the null delimiter