Re: [Boost-bugs] [Boost C++ Libraries] #1403: Enable copying boost::array to const

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1403: Enable copying boost::array to const
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-14 16:37:57


#1403: Enable copying boost::array to const
---------------------------------+------------------------------------------
  Reporter: pop.atry_at_[hidden] | Owner:
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.34.1 | Severity: Problem
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by NN):

 The better is operator ::boost::array<T const, N>

 {{{
 #!cpp

 operator array<T const, N> const&() const
 {
     return reinterpret_cast<array<T const, N> const&>(*this);
 }

 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1403#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC