ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/include/adt/make/array.h
Revision: 1.1
Committed: Sun Oct 17 08:14:46 2010 UTC (16 years 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 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     };