Мой компилятор Visual Studio 2013 для С++ работает неправильно

У меня проблемы с компилятором C++ в Visual Studio 2013. Я изучаю C++ для стандарта C++ 11, и мне дали эту программу, которая отлично компилируется на любом другом компиляторе C++ 11.

Однако VS 2013 вызывает у меня проблемы. Он говорит мне Error: identifier "not" is undefined (где в коде написано // line 36). Я не знаю, как это исправить. Я пытался проверить макросы, и у меня все еще есть проблемы с компиляцией:

///     Sort the standard input alphabetically.
/*    Read lines of text, sort them, and print the results to the standard output.
     If the command line names a file, read from that file. Otherwise, read from
   the standard input. The entire input is stored in memory, so don’t try
    this with input files that exceed available RAM.
*/
#include <algorithm>
#include <fstream>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
void read(std::istream& in, std::vector<std::string>& text)
{
    std::string line;
    while (std::getline(in, line))
        text.push_back(line);
}
int main(int argc, char* argv[])
{
    // Part 1. Read the entire input into text. If the command line names a file,
    // read that file. Otherwise, read the standard input.
    std::vector<std::string> text; ///< Store the lines of text here
    if (argc < 2)
        read(std::cin, text);
    else
    {
        std::ifstream in(argv[1]);
//line 36
        if (not in)
        {
            std::perror(argv[1]);
            return EXIT_FAILURE;
        }
        read(in, text);
    }
    // Part 2. Sort the text.
    std::sort(text.begin(), text.end());
    // Part 3. Print the sorted text.
    std::copy(text.begin(), text.end(),
        std::ostream_iterator<std::string>(std::cout, "\n"));
} 

person brook    schedule 17.07.2015    source источник
comment
См. нет, и т. д.… в VisualStudio 2013   -  person Shafik Yaghmour    schedule 17.07.2015
comment
@ShafikYaghmour Это должно быть сложное название для поиска в Google: P   -  person Cory Kramer    schedule 17.07.2015
comment
Это исправило это. Благодарность! @ШафикЯгмур   -  person brook    schedule 17.07.2015
comment
@CoryKramer да, над этим названием можно немного поработать.   -  person Shafik Yaghmour    schedule 17.07.2015