cxx: Include definition header in impl header

Good for IDE's. Not extremely useful considering how unreadable those
files are.
This commit is contained in:
Jean-Philippe Andre 2017-11-28 15:39:39 +09:00
parent cb7f2d0dd5
commit 5d6a5343b7
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ struct class_implementation_generator
.generate(sink, std::make_tuple(), ctx))
return false;
if(!as_generator("\n#include \"" << *(string << "_") << string << ".eo.hh\"\n\n")
.generate(sink, std::make_tuple(cls.namespaces, cls.cxx_name), add_lower_case_context(ctx)))
return false;
#ifndef USE_EOCXX_INHERIT_ONLY
if(!as_generator(
(namespaces