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
982ee5c6
Commit
982ee5c6
authored
Nov 21, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parse_context -> format_parse_context
parent
b7b85485
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
include/fmt/core.h
include/fmt/core.h
+4
-0
test/core-test.cc
test/core-test.cc
+3
-1
test/locale-test.cc
test/locale-test.cc
+1
-1
No files found.
include/fmt/core.h
View file @
982ee5c6
...
@@ -918,6 +918,10 @@ class basic_parse_context : private ErrorHandler {
...
@@ -918,6 +918,10 @@ class basic_parse_context : private ErrorHandler {
FMT_CONSTEXPR
ErrorHandler
error_handler
()
const
{
return
*
this
;
}
FMT_CONSTEXPR
ErrorHandler
error_handler
()
const
{
return
*
this
;
}
};
};
typedef
basic_parse_context
<
char
>
format_parse_context
;
typedef
basic_parse_context
<
wchar_t
>
wformat_parse_context
;
// DEPRECATED!
typedef
basic_parse_context
<
char
>
parse_context
;
typedef
basic_parse_context
<
char
>
parse_context
;
typedef
basic_parse_context
<
wchar_t
>
wparse_context
;
typedef
basic_parse_context
<
wchar_t
>
wparse_context
;
...
...
test/core-test.cc
View file @
982ee5c6
...
@@ -228,7 +228,9 @@ struct custom_context {
...
@@ -228,7 +228,9 @@ struct custom_context {
bool
called
;
bool
called
;
fmt
::
parse_context
parse_context
()
{
return
fmt
::
parse_context
(
""
);
}
fmt
::
format_parse_context
parse_context
()
{
return
fmt
::
format_parse_context
(
""
);
}
void
advance_to
(
const
char
*
)
{}
void
advance_to
(
const
char
*
)
{}
};
};
...
...
test/locale-test.cc
View file @
982ee5c6
// Formatting library for C++ -
cor
e tests
// Formatting library for C++ -
local
e tests
//
//
// Copyright (c) 2012 - present, Victor Zverovich
// Copyright (c) 2012 - present, Victor Zverovich
// All rights reserved.
// All rights reserved.
...
...
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