Skip to content
Snippets Groups Projects
Commit 02427176 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

MSVC not so much into details about the previously mentioned standard.

parent 879b50ec
Branches
No related merge requests found
......@@ -6,9 +6,15 @@ namespace Wccl {
const char* Position::type_name = "Position";
#ifndef _MSC_VER
//If you're strict about standards, if you want to use
//integral or enum static consts in a program, you still
//have to define them even if the declaration has an initializer.
//Well, at least GCC is strict about it.
const int Position::Nowhere;
const int Position::End;
const int Position::Begin;
#endif
std::string Position::to_raw_string() const
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment