|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net