3#ifndef pRC_CORE_LOG_PRINT_H
4#define pRC_CORE_LOG_PRINT_H
14 static inline constexpr auto name();
17 static inline constexpr auto name();
19 template<
class T, T V,
class S>
25 template<
class T, If<IsSame<T, Bool>> = 0>
30 std::fprintf(
stream,
"True");
34 std::fprintf(
stream,
"False");
38 template<
class T, If<IsIntegral<T>> = 0>
39 static inline auto print(
T const value, std::FILE *
stream)
43 std::fprintf(
stream,
"% d", value);
47 std::fprintf(
stream,
"% hd", value);
51 std::fprintf(
stream,
"% ld", value);
55 std::fprintf(
stream,
"% lld", value);
59 std::fprintf(
stream,
"%u", value);
63 std::fprintf(
stream,
"%hu", value);
67 std::fprintf(
stream,
"%lu", value);
71 std::fprintf(
stream,
"%llu", value);
80 static inline auto print(
char const *
const string, std::FILE *
stream)
82 std::fputs(
string,
stream);
85 static inline auto print(std::string
const &
string, std::FILE *
stream)
TN::Subscripts S
Definition externs_nonTT.hpp:9
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static auto print(String< N > const &string, std::FILE *stream)
Definition print.hpp:18
static constexpr auto name()
Definition type_name.hpp:11
std::integral_constant< T, V > Constant
Definition type_traits.hpp:34