-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error C2039: 'Format' : is not a member of 'fmt::BasicWriter<Char>' #3
Comments
From the error message it looks that you are using Visual C++. What compiler version? |
Visual C++ 2010 |
Make sure that you are using the latest version of the library from the repository. BasicWriter::Format was only recently introduced so older versions don't have this method. |
ok, I will check but I just update from github today. |
Do you have any other compilation errors? Could you post the complete compiler output? |
Sorry close the issue by accident, the example / error is within a new clean project. #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[])
} |
Sorry , there was an old copy of the library in another location being included before the new one. Sorry to mess you about. |
No problems. Glad you've found the cause. |
Reduce size of variadic-test result data
I have tried this code from the examples
fmt::Writer out;
out << "The answer is " << 42 << "\n";
out.Format("({:+f}, {:+f})") << -3.14 << 3.14;
it gives the error:
m:\mmgit\mmcyb\src\mm\cmmaxes.cpp(307): error C2039: 'Format' : is not a member of 'fmt::BasicWriter'
3> with
3> [
3> Char=char
3> ]
The text was updated successfully, but these errors were encountered: