Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template assignable

boost::type_erasure::assignable

Synopsis

// In header: <boost/type_erasure/builtin.hpp>

template<typename T = _self, typename U = const T&> 
struct assignable {

  // public static functions
  static void apply(T &, U);
};

Description

Enables assignment of any types.

assignable public static functions

  1. static void apply(T & dst, U src);

PrevUpHomeNext