$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-01-14 16:36:42
MB wrote:
>Hi,
>
>Does boost has anything like :
>
>  template< class T > inline
>  const T& const_(const T& x)
>  {
>    return x;
>  }
>
>
>I guess that boost::cref is different...
>  
>
What exactly is the use of this? Did you perhaps mean to make the 
parameter non-const? If so, why would you need a function for something 
that's an implicit cast anyway?
Sebastian Redl