Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

I have a stupid question :(

buraktamturk
Beginner
318 Views
Hi all programmers,

I am using intel c++ compiler, 11. .. .51. , and i want to use C++0x standart in my project.
i enabled the option in properties dialog, (/Qstd=c++0x), but i just can use the "auto".

auto b=0; works but
consexpr and nullptr giving undefined error like that:
1>.\Players.cpp(96): error: identifier "nullptr" is undefined
1> int b=nullptr;

how i can use it?, is there a header file for that?

Best Regards,
Burak TAMTURK
0 Kudos
1 Solution
JenniferJ
Moderator
318 Views


The support for C++0x features only includes followings. This isdocumented in the user's guide.

  • Empty macro arguments
  • Variadic macros
  • Type long long
  • Trailing comma in enum definition
  • Concatenation of mixed-width string literals
  • Extended friend declarations
  • Use of ">>" to close two template argument lists
  • Relaxed rules for use of "typename"
  • Relaxed rules for disambiguation using the "template" keyword
  • Copy constructor does not need to be callable on direct reference
  • Binding to class rvalue
  • "extern template" to suppress instantiation of an entity
  • "auto" type specifier
  • decltype operator
  • static_assert
  • compliant __func__
  • lambda expressions

More support will be available in the future major releases.

Thanks,

Jennifer

View solution in original post

0 Kudos
2 Replies
JenniferJ
Moderator
319 Views


The support for C++0x features only includes followings. This isdocumented in the user's guide.

  • Empty macro arguments
  • Variadic macros
  • Type long long
  • Trailing comma in enum definition
  • Concatenation of mixed-width string literals
  • Extended friend declarations
  • Use of ">>" to close two template argument lists
  • Relaxed rules for use of "typename"
  • Relaxed rules for disambiguation using the "template" keyword
  • Copy constructor does not need to be callable on direct reference
  • Binding to class rvalue
  • "extern template" to suppress instantiation of an entity
  • "auto" type specifier
  • decltype operator
  • static_assert
  • compliant __func__
  • lambda expressions

More support will be available in the future major releases.

Thanks,

Jennifer

0 Kudos
buraktamturk
Beginner
318 Views


The support for C++0x features only includes followings. This isdocumented in the user's guide.

  • Empty macro arguments
  • Variadic macros
  • Type long long
  • Trailing comma in enum definition
  • Concatenation of mixed-width string literals
  • Extended friend declarations
  • Use of ">>" to close two template argument lists
  • Relaxed rules for use of "typename"
  • Relaxed rules for disambiguation using the "template" keyword
  • Copy constructor does not need to be callable on direct reference
  • Binding to class rvalue
  • "extern template" to suppress instantiation of an entity
  • "auto" type specifier
  • decltype operator
  • static_assert
  • compliant __func__
  • lambda expressions

More support will be available in the future major releases.

Thanks,

Jennifer


Oh, thank you.
Have a nice day.
You saved me from the time :)

Best Regards,
Burak TAMTURK
0 Kudos
Reply