Boost logo

Boost :

Subject: Re: [boost] [BOOST_FOREACH] Problem to iterate on a non-copyable container...
From: pfultz2 (pfultz2_at_[hidden])
Date: 2015-05-19 15:17:04

> The compiler complains about not having a copy constructor

That is because you are passing an rvalue to BOOST_FOREACH. All non-copyable
containers must be passed as an lvalue.


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at