Move experimental color API to fmt/color.h

This commit is contained in:
Victor Zverovich
2018-09-12 09:04:26 -07:00
parent 97cc889374
commit bc26fbf1b0
6 changed files with 281 additions and 264 deletions

View File

@@ -5,13 +5,13 @@
//
// For the license information refer to format.h.
#define FMT_EXTENDED_COLORS
#define FMT_NOEXCEPT
#undef FMT_SHARED
#include "test-assert.h"
// Include format.cc instead of format.h to test implementation.
#include "../src/format.cc"
#include "fmt/color.h"
#include "fmt/printf.h"
#include <algorithm>