MTL 4: mtl::make_in_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. 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_copy_or_reference< Target, Source > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Gen. with
rev. 7542
on 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.