lobstr-code
lobstr-code copied to clipboard
Fixed implementation of fexists.
g++ 6.2.0 (Ubuntu Yakkety) rejects the current implementation with the following message:
cannot convert 'std::ifstream {aka std::basic_ifstream<char>}' to 'bool' in return
An explicit call to the good()
method of ifstream
takes care of the problem.