ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
/
cvs
/
deliantra
/
dclient
/
include
/
adt
/
make
/
array.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
template<typename T>
2
value_t make_value (T const &v);
3
4
struct array_t
5
{
6
template<typename... Args>
7
array_t (Args const &...args)
8
: data { make_value (args)... }
9
{
10
}
11
12
value_array const data;
13
};