News for hackers. Stuff that matters.
Re:The C++14 Standard: What You Need to Know by Someone on Wednesday September 17, 2014 @01:41PM (#8331255)
A third party can do that but if it doesn't also provide the source for fooBar, you won't be able to call it, making it fairly useless.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n363...:

    Of course, using such a function in an expression when
    only a forward declaration has been seen is ill-formed:

    auto f();    // return type is unknown
    int i = f(); // error, return type of f is unknown
And https://isocpp.org/wiki/faq/cpp14-language#generalized-retur...:

    Of course, this requires the function body to be visible.

There are no comments on this comment yet.