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
9d7b64a2
Commit
9d7b64a2
authored
Jun 11, 2019
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cleanup
parent
5e293bd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
12 deletions
+4
-12
include/fmt/core.h
include/fmt/core.h
+0
-2
include/fmt/format.h
include/fmt/format.h
+3
-6
include/fmt/printf.h
include/fmt/printf.h
+1
-4
No files found.
include/fmt/core.h
View file @
9d7b64a2
...
@@ -1228,8 +1228,6 @@ struct is_contiguous<internal::buffer<Char>> : std::true_type {};
...
@@ -1228,8 +1228,6 @@ struct is_contiguous<internal::buffer<Char>> : std::true_type {};
namespace
internal
{
namespace
internal
{
// Workaround for a SFINAE issue in gcc < 9:
// https://stackoverflow.com/q/56436995/471164
template
<
typename
OutputIt
>
template
<
typename
OutputIt
>
struct
is_contiguous_back_insert_iterator
:
std
::
false_type
{};
struct
is_contiguous_back_insert_iterator
:
std
::
false_type
{};
template
<
typename
Container
>
template
<
typename
Container
>
...
...
include/fmt/format.h
View file @
9d7b64a2
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
#include <memory>
#include <memory>
#include <stdexcept>
#include <stdexcept>
#include "core.h"
#ifdef __clang__
#ifdef __clang__
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
#else
#else
...
@@ -57,8 +59,6 @@
...
@@ -57,8 +59,6 @@
# define FMT_CUDA_VERSION 0
# define FMT_CUDA_VERSION 0
#endif
#endif
#include "core.h"
#if FMT_GCC_VERSION >= 406 || FMT_CLANG_VERSION
#if FMT_GCC_VERSION >= 406 || FMT_CLANG_VERSION
# pragma GCC diagnostic push
# pragma GCC diagnostic push
...
@@ -2270,10 +2270,7 @@ void handle_dynamic_spec(Spec& value, arg_ref<typename Context::char_type> ref,
...
@@ -2270,10 +2270,7 @@ void handle_dynamic_spec(Spec& value, arg_ref<typename Context::char_type> ref,
/** The default argument formatter. */
/** The default argument formatter. */
template
<
typename
Range
>
template
<
typename
Range
>
class
arg_formatter
class
arg_formatter
:
public
internal
::
arg_formatter_base
<
Range
>
{
:
public
internal
::
function
<
typename
internal
::
arg_formatter_base
<
Range
>::
iterator
>
,
public
internal
::
arg_formatter_base
<
Range
>
{
private:
private:
typedef
typename
Range
::
value_type
char_type
;
typedef
typename
Range
::
value_type
char_type
;
typedef
internal
::
arg_formatter_base
<
Range
>
base
;
typedef
internal
::
arg_formatter_base
<
Range
>
base
;
...
...
include/fmt/printf.h
View file @
9d7b64a2
...
@@ -204,10 +204,7 @@ template <typename OutputIt, typename Char> class basic_printf_context;
...
@@ -204,10 +204,7 @@ template <typename OutputIt, typename Char> class basic_printf_context;
\endrst
\endrst
*/
*/
template
<
typename
Range
>
template
<
typename
Range
>
class
printf_arg_formatter
class
printf_arg_formatter
:
public
internal
::
arg_formatter_base
<
Range
>
{
:
public
internal
::
function
<
typename
internal
::
arg_formatter_base
<
Range
>::
iterator
>
,
public
internal
::
arg_formatter_base
<
Range
>
{
public:
public:
typedef
decltype
(
std
::
declval
<
Range
>
().
begin
())
iterator
;
typedef
decltype
(
std
::
declval
<
Range
>
().
begin
())
iterator
;
...
...
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