diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-05 13:57:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-09-05 13:57:39 +0200 |
commit | 536b0879fc05fa0379e4b9bc997508aaf67bbbd1 (patch) | |
tree | e5ec56f226b8fa44b59dafdae416b0bb29c5160e /odb/context.hxx | |
parent | 1d8870af31addbc3c2f71a6c1458ed8279b3e2f1 (diff) |
Use scope of name used in pragma for template instantiations
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index 41428d0..0af3b3c 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -1049,6 +1049,13 @@ public: static string class_fq_name (semantics::class_&); + // Return class scope. For ordinary classes, this will be the scope + // where the class is defined. For class template instantiations this + // will be the scope of the typedef name used in the pragma. + // + static semantics::scope& + class_scope (semantics::class_&); + // Return the class file. For ordinary classes, this will be the file // where the class is defined. For class template instantiations this // will be the file containing the pragma. |