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

File Contents

# Content
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 }