random, but interesting things I've come across
C++ Makefile C Assembly Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Access Protected Members
Any
Bitwise Manipulate Addresses
Compile Time Fibonacci Generator
Compile Time Prime Number Generator
Custom Deleter
Different Calling Conventions for Member Functions
Different Object In a Map
Enable If
Static Type Id Checker
Strict Aliasing Optimization
Surrogate Call Function
Type Erasure
Uninitialized Pointer
Y Combinator
hr
iterator
proj_euler
restrict keyword optimization
sizeof
static
strict aliasing optimization
README

README

So I decided to actually code up some random, weird stuff I've come across in C++.
Turned out there are a lot of cool things you can do with the language and
some really interesting behaviours.

If you like, you can use the source code however you want to.
(I doubt anyone'd find it useful tho...)

There is a makefile in every folder.
Note: Some code is intentionally made unable to compile in order to
      illustrate some interesting point.