~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to system/include/libcxx/__debug

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#ifndef _LIBCPP_DEBUG_H
12
12
#define _LIBCPP_DEBUG_H
13
13
 
 
14
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 
15
#pragma GCC system_header
 
16
#endif
 
17
 
14
18
#if _LIBCPP_DEBUG_LEVEL >= 1
15
19
 
16
20
#   include <cstdlib>
24
28
 
25
29
#if _LIBCPP_DEBUG_LEVEL >= 2
26
30
 
27
 
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
28
 
#pragma GCC system_header
29
 
#endif
30
 
 
31
31
_LIBCPP_BEGIN_NAMESPACE_STD
32
32
 
33
33
struct _LIBCPP_TYPE_VIS __c_node;
38
38
    __i_node* __next_;
39
39
    __c_node* __c_;
40
40
 
 
41
#ifndef _LIBCPP_HAS_NO_DELETED_FUNCTIONS
41
42
    __i_node(const __i_node&) = delete;
42
43
    __i_node& operator=(const __i_node&) = delete;
 
44
#else
 
45
private:
 
46
    __i_node(const __i_node&);
 
47
    __i_node& operator=(const __i_node&);
 
48
public:
 
49
#endif
43
50
    _LIBCPP_INLINE_VISIBILITY
44
51
    __i_node(void* __i, __i_node* __next, __c_node* __c)
45
52
        : __i_(__i), __next_(__next), __c_(__c) {}
54
61
    __i_node** end_;
55
62
    __i_node** cap_;
56
63
 
 
64
#ifndef _LIBCPP_HAS_NO_DELETED_FUNCTIONS
57
65
    __c_node(const __c_node&) = delete;
58
66
    __c_node& operator=(const __c_node&) = delete;
 
67
#else
 
68
private:
 
69
    __c_node(const __c_node&);
 
70
    __c_node& operator=(const __c_node&);
 
71
public:
 
72
#endif
59
73
    _LIBCPP_INLINE_VISIBILITY
60
74
    __c_node(void* __c, __c_node* __next)
61
75
        : __c_(__c), __next_(__next), beg_(nullptr), end_(nullptr), cap_(nullptr) {}
134
148
 
135
149
    __libcpp_db();
136
150
public:
 
151
#ifndef _LIBCPP_HAS_NO_DELETED_FUNCTIONS
137
152
    __libcpp_db(const __libcpp_db&) = delete;
138
153
    __libcpp_db& operator=(const __libcpp_db&) = delete;
 
154
#else
 
155
private:
 
156
    __libcpp_db(const __libcpp_db&);
 
157
    __libcpp_db& operator=(const __libcpp_db&);
 
158
public:
 
159
#endif
139
160
    ~__libcpp_db();
140
161
 
141
162
    class __db_c_iterator;