[Boost-bugs] [Boost C++ Libraries] #3790: parameterize SBO size on boost::function

Subject: [Boost-bugs] [Boost C++ Libraries] #3790: parameterize SBO size on boost::function
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-22 13:37:05


#3790: parameterize SBO size on boost::function
------------------------------+---------------------------------------------
 Reporter: chris_hite | Owner: dgregor
     Type: Feature Requests | Status: new
Milestone: Boost 1.42.0 | Component: function
  Version: Boost 1.41.0 | Severity: Optimization
 Keywords: |
------------------------------+---------------------------------------------
 http://lists.boost.org/boost-users/2009/12/54250.php

 * It would be really nice to parameterize the SBO size like this:

 {{{
 template<typename Signature,std::size_t SBOSize=3*sizeof(void*)>
 class function;
 }}}


 * Saving that it would be useful to have a constructor to allow you to
 change the allocator like this:
 {{{
   template<typename Allocator>
   functionN(const functionN&, Allocator);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3790>
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:50:02 UTC