stlab.adobe.com Adobe Systems Incorporated
array.hpp
Go to the documentation of this file.
1 /*
2  Copyright 2005-2007 Adobe Systems Incorporated
3  Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
4  or a copy at http://stlab.adobe.com/licenses.html)
5 */
6 
7 /**************************************************************************************************/
8 
9 #ifndef ADOBE_ARRAY_HPP
10 #define ADOBE_ARRAY_HPP
11 
12 #include <adobe/config.hpp>
13 
14 #include <adobe/array_fwd.hpp>
15 
16 #include <adobe/any_regular.hpp>
17 #include <adobe/typeinfo.hpp>
18 #include <adobe/vector.hpp>
19 
20 /**************************************************************************************************/
21 
22 namespace adobe {
23 namespace version_1 {
24 
25 /**************************************************************************************************/
26 
27 template <typename T> // T models Regular
28 inline void push_back(array_t& v, T x)
30 
31 inline void push_back(array_t& v, any_regular_t x)
32 { v.push_back(adobe::move(x)); }
33 
34 /**************************************************************************************************/
35 
36 } // namespace version_1
37 
39 
40 } // namespace adobe
41 
42 /**************************************************************************************************/
43 
44 ADOBE_SHORT_NAME_TYPE('a','r','r','y', adobe::array_t)
45 
46 /**************************************************************************************************/
47 
48 #endif

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google