/src/wt/src/Wt/Json/Array.C
Line | Count | Source |
1 | | /* |
2 | | * Copyright (C) 2013 Emweb bv, Herent, Belgium. |
3 | | * |
4 | | * See the LICENSE file for terms of use. |
5 | | */ |
6 | | |
7 | | #include "Wt/Json/Array.h" |
8 | | |
9 | | namespace Wt { |
10 | | namespace Json { |
11 | | |
12 | | typedef std::vector<Value> Impl; |
13 | | |
14 | | Array::Array() |
15 | 73.3k | : Impl() |
16 | 73.3k | { } |
17 | | |
18 | | Array::Array(const Array& other) |
19 | 12.3k | : Impl(other) |
20 | 12.3k | { } |
21 | | |
22 | | Array& Array::operator= (const Array& other) |
23 | 0 | { |
24 | 0 | Impl::operator=(other); |
25 | 0 | return *this; |
26 | 0 | } |
27 | | |
28 | | Array::Array(Array&& other) |
29 | 73.2k | : Impl(std::move(other)) |
30 | 73.2k | { } |
31 | | |
32 | | Array::Array(std::initializer_list<Value> list) |
33 | 0 | : Impl(list) |
34 | 0 | { } |
35 | | |
36 | | Array& Array::operator= (Array&& other) |
37 | 0 | { |
38 | 0 | Impl::operator=(std::move(other)); |
39 | 0 | return *this; |
40 | 0 | } |
41 | | |
42 | | Array Array::Empty; |
43 | | |
44 | | } |
45 | | } |