This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
gplib
Watch
1
Star
1
Fork
0
Code
Issues
8
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
using size_t like a half decent human being
master
Ludovic 'Archivist' Lagouardette
3 years ago
parent
66ba3d98e4
commit
ba7f3f3906
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
include/gp/containers/buffer.hpp
+ 1
- 1
include/gp/containers/buffer.hpp
View File
@ -48,7 +48,7 @@ namespace gp{
,
end_elem
{
beg_ptr
+
sz
}
{
}
constexpr
k">typename
pointer_iterator
<
T
>
:
:
difference_type
size
(
)
const
constexpr
n">size_t
size
(
)
const
{
return
end_elem
-
begin_elem
;
}
Write
Preview
Loading…
Cancel
Save