Boost logo

Boost :

From: Peter Simons (simons_at_[hidden])
Date: 2002-08-27 03:53:31


Apparently, std::string does not fulfill the requirements of the
boost::SequenceConcept, because it cannot be constructed like this:

    std::string::size_type size = 5;
    std::string test(size);

This is enforced in concept_check.hpp, line 832. IMHO, though, the
standard does not require a "sequence" to support this constructor. It
expects it to have

    sequence(size_type, value_type);

and so std::string does. Or am I missing something?

        -peter


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk