slycelote / caide-cpp-inliner

Transform a C++ program consisting of multiple source files and headers into a single self-contained source file without any external dependencies (except for standard system headers). Unused code is not included in the resulting file.
Other
32 stars 12 forks source link

Used constructor is deleted #4

Closed AlCash07 closed 7 years ago

AlCash07 commented 7 years ago

Here's an example where range constructor gets erroneously deleted http://ideone.com/edb9hQ. Interesting thing is that, if I remove range forward declaration, the constructor remains in place, but since using base_type is removed, it doesn't compile anyway.

slycelote commented 7 years ago

Constructor thing is fixed. However, as you mentioned, the whole example still won't work because of #3.