Skip to content

Instantly share code, notes, and snippets.

Vittorio Romeo SuperV1234

Block or report user

Report or block SuperV1234

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ExpressivePi.cpp
// Expressive Pi
// -------------
// Fluent C++ Blog Post: The Pi Day Challenge for Expressive Code
// Author: William Killian
// Email:
// Github:
// Website:
#include <type_traits>
#include <tuple>
#include <iostream>
// Link:
//count arguments
//COUNT_ARGS :: ... -> Int
#define COUNT_ARGS(...) COUNT_ARGS_(,##__VA_ARGS__,6,5,4,3,2,1,0)
#define COUNT_ARGS_(z,a,b,c,d,e,f,cnt,...) cnt
You can’t perform that action at this time.