Skip to content

Instantly share code, notes, and snippets.

@stryku
Last active February 23, 2017 21:39
Show Gist options
  • Save stryku/af5b1f1e76c5f87a697de0eab2bbd35b to your computer and use it in GitHub Desktop.
Save stryku/af5b1f1e76c5f87a697de0eab2bbd35b to your computer and use it in GitHub Desktop.
template <typename string1, typename string2>
struct sum_chars_count
{
static constexpr auto sum = to_string<string1>::size + to_string<string2>::size;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment