Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
4797ca02
Commit
4797ca02
authored
Dec 20, 2015
by
vitaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
POD -> trivially copyable/constructible
parent
3121ebd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
format.h
format.h
+4
-4
No files found.
format.h
View file @
4797ca02
...
...
@@ -603,8 +603,8 @@ void Buffer<T>::append(const U *begin, const U *end) {
namespace
internal
{
// A memory buffer for
POD types with the first SIZE elements stored in
// the object itself.
// A memory buffer for
trivially copyable/constructible types with the first SIZE
//
elements stored in
the object itself.
template
<
typename
T
,
std
::
size_t
SIZE
,
typename
Allocator
=
std
::
allocator
<
T
>
>
class
MemoryBuffer
:
private
Allocator
,
public
Buffer
<
T
>
{
private:
...
...
@@ -949,8 +949,8 @@ struct Value {
};
};
// A formatting argument. It is a
POD type to allow storage in
// internal::MemoryBuffer.
// A formatting argument. It is a
trivially copyable/constructible type to
//
allow storage in
internal::MemoryBuffer.
struct
Arg
:
Value
{
Type
type
;
};
...
...
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