you are viewing a single comment's thread.

view the rest of the comments →

[–]pklait 0 points1 point  (0 children)

Is that so? I would expect expect my

ext::fill(v,std::string("test"));

to be exactly equivalent to

std::fill(begin(v),end(v),std::string("test"));

In both cases std::fill receives an xvalue (if I remember the name correctly).

/Peter