Home
last modified time | relevance | path

Searched refs:MakeArg (Results 1 – 5 of 5) sorted by relevance

/external/fmtlib/test/compile-test/
DCMakeLists.txt50 # MakeArg doesn't accept [const] volatile char *.
51 expect_compile_error("volatile char s[] = \"test\"; (fmt::internal::MakeArg<char>)(s);")
52 expect_compile_error("const volatile char s[] = \"test\"; (fmt::internal::MakeArg<char>)(s);")
54 # MakeArg<char> doesn't accept wchar_t.
/external/fmtlib/fmt/
Dostream.h85 typedef internal::MakeArg< BasicFormatter<Char> > MakeArg;
86 format_str = f.format(format_str, MakeArg(str));
Dformat.h1409 class MakeArg : public Arg {
1411 MakeArg() {
1416 MakeArg(const T &value)
1428 : Arg(MakeArg< BasicFormatter<Char> >(value)), name(argname) {}
2224 static Arg make(const T &value) { return MakeArg<Formatter>(value); }
/external/fmtlib/test/
Dostream-test.cc73 af.visit(fmt::internal::MakeArg<Formatter>(TestEnum())); in TEST()
Dutil-test.cc470 TEST(ArgTest, MakeArg) { in TEST() argument