Skip to content

Instantly share code, notes, and snippets.

https://i.imgur.com/088ur5d.gifv,mouse
https://i.imgur.com/0hj6zHY.gifv,alpaca
https://i.imgur.com/0NBfOrS.gifv,cat
https://i.imgur.com/0pK9eCh.gifv,dog,puppy
https://i.imgur.com/0sa6jrV.gifv,dog,cat
https://i.imgur.com/0xEilxR.gifv,cat
https://i.imgur.com/0XQiEHM.gifv,dog
https://i.imgur.com/1CssljC.gifv,kitten,cat
https://i.imgur.com/1XjbGZc.gifv,fox,dog
https://i.imgur.com/2fHaePq.gifv,llama,anime
@bedder
bedder / version.hpp
Created September 22, 2016 14:53
constexpr Verion string generation
//
// Example of how to use (abuse) constexpr declarations to create program
// version string at compile-time. This is largely taken from the StackOverflow
// user Constructor (http://stackoverflow.com/a/23453841), but with one minor
// fix to null-terminate the string, one to make the code work with MSVC, and
// and comments added.
//
#include <type_traits>

Keybase proof

I hereby claim:

  • I am bedder on github.
  • I am bedder (https://keybase.io/bedder) on keybase.
  • I have a public key whose fingerprint is C489 6BF4 8CE6 437A 5DA4 FD4C 3F3A 0512 0FFD 2D76

To claim this, I am signing this object: