Pages tagged #boostkerneltest

by . Last updated . This page has been accessed 87 times since the 3rd April 2019.

1. Thursday 26th May 2016
Thursday 26th May 2016: 8.20am. Link shared: I'm not a natural C++ metaprogrammer, so it took me two mornings before work to come up with this of which I am quite proud:```#include <stdio.h>#include <string>template <class... Args> struct Foo {};template <class T, class... Args> struct Foo<T, Args...> { T v; Foo<Args...> rest;};template <class T> struct Foo<T> { T v; };namespace detail {template <size_t N, class T, class... Args> struct getFoo { constexpr auto operator()(const Foo<T, Args. ...

Contact the webmaster: Niall Douglas @ webmaster2<at symbol> (Last updated: 2016-05-26 08:20:29 +0000 UTC)