Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
9b502d29
Commit
9b502d29
authored
Apr 24, 2021
by
Davis King
Browse files
Merge branch 'pfeatherstone-allocator_traits'
parents
d6d1a9e8
a051a654
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
dlib/stl_checked/std_vector_c.h
dlib/stl_checked/std_vector_c.h
+8
-8
dlib/stl_checked/std_vector_c_abstract.h
dlib/stl_checked/std_vector_c_abstract.h
+12
-12
No files found.
dlib/stl_checked/std_vector_c.h
View file @
9b502d29
...
...
@@ -22,18 +22,18 @@ namespace dlib
typedef
typename
std
::
vector
<
T
,
Allocator
>
base_type
;
public:
// types:
typedef
typename
Allocator
::
reference
reference
;
typedef
typename
Allocator
::
const_reference
const_reference
;
typedef
typename
base_type
::
reference
reference
;
typedef
typename
base_type
::
const_reference
const_reference
;
typedef
typename
base_type
::
iterator
iterator
;
// See 23.1
typedef
typename
base_type
::
const_iterator
const_iterator
;
// See 23.1
typedef
typename
base_type
::
size_type
size_type
;
// See 23.1
typedef
typename
base_type
::
difference_type
difference_type
;
// See 23.1
typedef
T
value_type
;
typedef
Allocator
allocator_type
;
typedef
typename
Allocator
::
pointer
pointer
;
typedef
typename
Allocator
::
const_pointer
const_pointer
;
typedef
std
::
reverse_iterator
<
iterator
>
reverse_iterator
;
typedef
std
::
reverse_iterator
<
const
_iterator
>
const_reverse_iterator
;
typedef
typename
base_type
::
value_type
value_type
;
typedef
typename
base_type
::
allocator_type
allocator_type
;
typedef
typename
base_type
::
pointer
pointer
;
typedef
typename
base_type
::
const_pointer
const_pointer
;
typedef
typename
base_type
::
reverse_iterator
reverse_iterator
;
typedef
typename
base_type
::
const_reverse
_iterator
const_reverse_iterator
;
// 23.2.4.1 construct/copy/destroy:
...
...
dlib/stl_checked/std_vector_c_abstract.h
View file @
9b502d29
...
...
@@ -26,18 +26,18 @@ namespace dlib
typedef
typename
std
::
vector
<
T
,
Allocator
>
base_type
;
public:
typedef
typename
Allocator
::
reference
reference
;
typedef
typename
Allocator
::
const_reference
const_reference
;
typedef
typename
base_type
::
iterator
iterator
;
typedef
typename
base_type
::
const_iterator
const_iterator
;
typedef
typename
base_type
::
size_type
size_type
;
typedef
typename
base_type
::
difference_type
difference_type
;
typedef
T
value_type
;
typedef
Allocator
allocator_type
;
typedef
typename
Allocator
::
pointer
pointer
;
typedef
typename
Allocator
::
const_pointer
const_pointer
;
typedef
std
::
reverse_iterator
<
iterator
>
reverse_iterator
;
typedef
std
::
reverse_iterator
<
const
_iterator
>
const_reverse_iterator
;
typedef
typename
base_type
::
reference
reference
;
typedef
typename
base_type
::
const_reference
const_reference
;
typedef
typename
base_type
::
iterator
iterator
;
// See 23.1
typedef
typename
base_type
::
const_iterator
const_iterator
;
// See 23.1
typedef
typename
base_type
::
size_type
size_type
;
// See 23.1
typedef
typename
base_type
::
difference_type
difference_type
;
// See 23.1
typedef
typename
base_type
::
value_type
value_type
;
typedef
typename
base_type
::
allocator_type
allocator_type
;
typedef
typename
base_type
::
pointer
pointer
;
typedef
typename
base_type
::
const_pointer
const_pointer
;
typedef
typename
base_type
::
reverse_iterator
reverse_iterator
;
typedef
typename
base_type
::
const_reverse
_iterator
const_reverse_iterator
;
explicit
std_vector_c
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment