// file : odb/sqlite/query-dynamic.txx // copyright : Copyright (c) 2005-2013 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file namespace odb { namespace sqlite { template details::shared_ptr query_param_factory_impl (const void* val, bool by_ref) { const T& v (*static_cast (val)); return details::shared_ptr ( by_ref ? new (details::shared) query_param_impl (ref_bind (v)) : new (details::shared) query_param_impl (val_bind (v))); } } }