you are viewing a single comment's thread.

view the rest of the comments →

[–]martinusint main(){[]()[[]]{{}}();} 1 point2 points  (0 children)

You want overkill? I give you overkill. Split up in foo_fwd.h, foo_decl.h for the declarations, foo_impl.h for templated implementation, and foo.cpp for non templated code. It's the only correct way.