ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/include/adt/make/cast.h
Revision: 1.1
Committed: Sun Oct 17 08:14:46 2010 UTC (16 years, 1 month ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
initial import

File Contents

# User Rev Content
1 sf-pippijn 1.1 #include "adt/make.h"
2     #include "adt/rtti_util.h"
3    
4     namespace make
5     {
6     template<typename T>
7     T
8     value_cast (value const &v)
9     {
10     return runtime_cast<T> (v.data, *v.type);
11     }
12     }