C++ Forced Cast Library

A super-duped reliable (no matter how strict you make the command line flags, it still just keeps getting compiled no matter what!) C++ library that allows willy-nilly type-casting.

Click Here To Download The Library

Code example:
#include <iostream>
#include "force_cast.hpp"

int main( void ) {
	unsigned short my_Ull[2];
	my_Ull[0] = 1;
	my_Ull[1] = 1;
	
	/* Will it compile?!?!?! */
	std::cout << (unsigned int)force_cast<int>( my_Ull );	//Now you try doing this with those annoying little buggy standard casting functions
	/* (Suprize, Suprize!) It does!, even in strict -Wall -Wextra -ansi -fno-hosted -std=c++98 -Werror -Wpedantic mode, the compile still doesnt catch this amazing little hack! */
	
	std::cout << "\n";
	
	
	return 0;
}


List below are some common questions you might have.