Dynamic arguments storage. Implementation of enhancement from issue #1170. (#1584)

This commit is contained in:
Vladimir Solontsov authored and GitHub committed 2020-03-16 07:00:29 -07:00
1 parent 85050aa2e6
commit 6012dc9ab4
4 files changed
+282 -4

No files matched your search

-4
View File
@@ -213,10 +213,6 @@ FMT_END_NAMESPACE
FMT_BEGIN_NAMESPACE
namespace internal {
// A helper function to suppress bogus "conditional expression is constant"
// warnings.
template <typename T> FMT_CONSTEXPR T const_check(T value) { return value; }
// An equivalent of `*reinterpret_cast<Dest*>(&source)` that doesn't have
// undefined behavior (e.g. due to type aliasing).
// Example: uint64_t d = bit_cast<uint64_t>(2.718);