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 for the latest Boost documentation.
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