Sometimes you want it to be >>
. Consider
boost::array<int, 1024>>2> x;
In C++03 this successfully parses and creates an array of size 256
.
More Related Contents:
- How to cin values into a vector
- How can I declare a member vector of the same class?
- Template instantiation details of GCC and MS compilers
- C++ template function compiles in header but not implementation
- What is a vector of vector of point? [closed]
- Difference of keywords ‘typename’ and ‘class’ in templates?
- Is std::vector so much slower than plain arrays?
- C++ templates that accept only certain types
- How do I erase an element from std::vector by index?
- how does array[100] = {0} set the entire array to 0?
- How to change mode from c++98 mode in Dev-C++ to a mode that supports C++0x (range based for)?
- How to get std::vector pointer to the raw data?
- Vector of Vectors to create matrix
- How to initialize std::array elegantly if T is not default constructible?
- Template tuple – calling a function on each element
- Nested templates with dependent scope
- Limiting range of value types in C++
- Deducing first template argument with other template parameters defaulted
- Cleaning up an STL list/vector of pointers
- How to read / write a struct in Binary Files?
- C++ parameter pack, constrained to have instances of a single type?
- Two phase name lookup for C++ templates – Why?
- Optimization of raw new[]/delete[] vs std::vector
- How can I expand call to variadic template base classes?
- What should std::vector::data() return if the vector is empty?
- Template Metaprogramming – Difference Between Using Enum Hack and Static Const
- Vector Iterators Incompatible
- How to check if a template parameter is an iterator type or not?
- Will I be able to declare a constexpr lambda inside a template parameter?
- C++ template function default value