Subject: Re: [Boost-users] [Review] Formal Review: Boost.Move
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-24 11:16:58


AMDG

Ion Gaztañaga wrote:
> This does not seem to work:
>
> template<class T>
> struct rv_ref
> {
> rv_ref(T &t){ ptr = &t; }
> rv_ref(const T &t){ ptr = &t; }

These constructors need to be explicit.

Your code compiles with VC 2010 with this change.

In Christ,
Steven Watanabe