No, there is no way to forward declare anything outside of a header file. If you want to collocate your source and external declarations you can include your implementation (source) in the header file, usually indicated using .hpp.