A type safe SQL template library for C++