
29 Mar
2004
29 Mar
'04
8:33 p.m.
On Mon, Mar 29, 2004 at 08:14:09AM +0200, Joaqu?n M? L?pez Mu?oz wrote:
If the insertion violates some constraint, then it does not take place. insert operations return a pair<iterator,bool>: the bool indicates whether insertion succeeded or not.
Forgive me if this has already been asked, but why don't you return a boost::optional<> object? -- Shannon Stewman | Let us walk through the waning night, Caught in a whirlpool, | As dawn-rays tickle our toes, the dew soothes A quartering act: | Our blistered soles, and damp bones stir Solitude or society? | As crimson cracks under the blue-grey sky.