#ifndef _CTSQL_HPP #define _CTSQL_HPP #include #include // ------------------------------------------------------------------------- // fixed_string template struct fixed_string; // operator==(fixed_string, fixed_string) - to be implemented // ------------------------------------------------------------------------- // column template struct column; // ------------------------------------------------------------------------- // table template struct table; // ------------------------------------------------------------------------- // Predicates template struct greater; template struct equals; // ------------------------------------------------------------------------- // column_type_t template using column_type_t = ... // to be implemented // ------------------------------------------------------------------------- // query template struct query { // select template using select = ... // to be implemented // where template using where = ... // to be implemented }; // ------------------------------------------------------------------------- // basic test using Users = table< column<"id", int>, column<"name", std::string>, column<"age", int> >; using Q = query ::select<"name", "age"> ::where>; #endif // _CTSQL_HPP