, raleue reference ββ .
, , :
struct noncopyable
{
noncopyable()
{}
noncopyable(noncopyable &&)
{}
private:
noncopyable(const noncopyable &);
noncopyable &operator=(const noncopyable &);
};
, , , .
, :
noncopyable factory()
{
noncopyable abc;
return std::move(abc);
}
std:: stream , , STL, gcc 4.3.2, .