Skip to content
Snippets Groups Projects
Commit 18df6e1f authored by Sandipan Mohanty's avatar Sandipan Mohanty
Browse files

add no_textsub.cc

parent 8503298c
Branches
Tags
No related merge requests found
template <unsigned N> constexpr unsigned fact = N * fact<N-1>;
template <> constexpr unsigned fact<0> = 1U;
static_assert(fact<7> == 5040);
template <class A, class B>
constexpr auto are_same = false;
template <class A>
constexpr auto are_same<A, A> = true;
//static_assert(are_same<int, unsigned int>);
using Integer = int;
static_assert(are_same<int, Integer>);
auto main() -> int {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment