OSDN Git Service
(root)
/
gikomona
/
GikoMona.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[core] select_を外部で生成できないようにした。
[gikomona/GikoMona.git]
/
core
/
include
/
query.hpp
diff --git
a/core/include/query.hpp
b/core/include/query.hpp
index
211d521
..
b72fb07
100644
(file)
--- a/
core/include/query.hpp
+++ b/
core/include/query.hpp
@@
-19,9
+19,12
@@
template <typename ValueType>
class query final {
public:
// query order
class query final {
public:
// query order
- class select_ {
+ class select_ final {
+ friend class query;
+ select_() {}
+ ~select_() {}
public:
public:
- struct select_all_column {} all_column;
+ struct select_all_column {} all_column
es
;
select_& distinct() {}
select_& group_by() {}
select_& distinct() {}
select_& group_by() {}
@@
-40,7
+43,7
@@
public:
const mona_string& from) {
return (*this);
}
const mona_string& from) {
return (*this);
}
- select_& select(
select_::select_all_column /* dummy */
,
+ select_& select(
typename select_::select_all_column dummy
,
const mona_string& from) {
return (*this);
}
const mona_string& from) {
return (*this);
}