MTL 4: mtl::make_in_out_copy_or_reference< Target, Source > Struct Template Reference
#include <make_copy_or_reference.hpp>
Container is referred if it has already target type, otherwise copied construction and destruction. Create an object of this type and pass the value member variable to the function, e.g. make_in_copy_or_reference<Tgt, Src> copy_or_ref(v); f(copy_or_ref.value); where Src is the type of v and Tgt the type of f's argument.
mtl::make_in_out_copy_or_reference< Target, Source > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Generated on 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.