Displaying 2 results from an estimated 2 matches for "cxx_access_control_sfina".
Did you mean:
cxx_access_control_sfinae
2012 Oct 23
0
[LLVMdev] Status of YAML IO?
...d by YAML I/O work in C++03? My current implementation was written in C++11, but then back ported to C++03 in a way that works with clang, but may not work with other compilers. Here is an example:
template <class T>
struct has_output
{
private:
static double test(...);
#if __has_feature(cxx_access_control_sfinae)
template <class U, class X>
static auto test(U& u, X& x)
-> decltype(U::output(std::declval<const X&>(), std::declval<llvm::raw_ostream&>()), char());
#else
template <class U, class X>
static __typeof__(U::output(std::declval<const X&...
2012 Oct 22
2
[LLVMdev] Status of YAML IO?
Hey Nick, what's the status on YAML IO? The other thread seems to have died.
-- Sean Silva