[odb-users] naming first and second columns of std::pair
MM
finjulhich at gmail.com
Wed Mar 18 16:11:06 EDT 2015
hello,
I have this struct:
/// main header file
typedef std::pair<double, double> possizethresh_df_t;
typedef std::vector< possizethresh_df_t > dftiers_t;
struct S {
...
dftiers_t dftiers;
...
};
/// odb-specific header file
#pragma db object(S)
#pragma db value(possizethresh_df_t)
Is there a way to give a name to the columns resulting from the 2 doubles
in the pair?
Rds,
More information about the odb-users
mailing list