0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Made dynamic select column list a bit more customization friendly

See https://github.com/matthijs/sqlpp11-connector-postgresql/issues/8
This commit is contained in:
rbock 2016-03-17 20:46:26 +01:00
parent 153427d2b8
commit 8b30569013

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2015, Roland Bock
* Copyright (c) 2013-2016, Roland Bock
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
@ -29,6 +29,7 @@
#include <vector>
#include <string>
#include <sqlpp11/no_name.h>
#include <sqlpp11/named_interpretable.h>
namespace sqlpp
@ -56,13 +57,7 @@ namespace sqlpp
template <>
struct dynamic_select_column_list<void>
{
struct _names_t
{
static constexpr size_t size()
{
return 0;
}
};
using _names_t = no_name_t;
_names_t _dynamic_expression_names;
static constexpr bool empty()