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
9ec3bea2
Commit
9ec3bea2
authored
Sep 23, 2016
by
Jean-Michaël Celerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add FMT_OVERRIDE macro to allow specifying overriding functions in c++11 compilers
parent
1fb0586b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
fmt/format.h
fmt/format.h
+12
-1
No files found.
fmt/format.h
View file @
9ec3bea2
...
...
@@ -194,6 +194,17 @@ typedef __int64 intmax_t;
# endif
#endif
#ifndef FMT_OVERRIDE
# if FMT_USE_OVERRIDE || FMT_HAS_FEATURE(cxx_override) || \
(FMT_GCC_VERSION >= 408 && FMT_HAS_GXX_CXX11) || \
FMT_MSC_VER >= 1900
# define FMT_OVERRIDE override
# else
# define FMT_OVERRIDE
# endif
#endif
// A macro to disallow the copy constructor and operator= functions
// This should be used in the private: declarations for a class
#ifndef FMT_USE_DELETED_FUNCTIONS
...
...
@@ -678,7 +689,7 @@ class MemoryBuffer : private Allocator, public Buffer<T> {
}
protected:
void
grow
(
std
::
size_t
size
);
void
grow
(
std
::
size_t
size
)
FMT_OVERRIDE
;
public:
explicit
MemoryBuffer
(
const
Allocator
&
alloc
=
Allocator
())
...
...
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