Correction du TD 5. More...
#include "any.hh"
#include "bad_any_cast.hh"
#include "internal/value.hh"
Go to the source code of this file.
Namespaces | |
namespace | my_lib |
Ma petite bibliothèque perso. | |
Functions | |
std::ostream & | my_lib::operator<< (std::ostream &o, const any &a) |
Ecriture dans un flot sortant. | |
template<typename T > | |
bool | my_lib::any_typeof (const any &a) |
Test le type de la valeur encapsulée dans un any. | |
template<typename T > | |
T | my_lib::any_cast (const any &a) |
Retourne la valeur encapsulée dans un any. |
Correction du TD 5.
Definition in file any.hxx.