It stands for unsigned
.
When you declare a constant, you can also specify its type. Another common example is L
, which stands for long
. (and you have to put it twice to specify a 64-bit constant).
Example: 1ULL
.
It helps in avoiding explicit casts.
More Related Contents:
- Insertion sort stops working after million input
- warning C4018: '<' : signed/unsigned mismatch [closed]
- Why the values {1, 1, 0, -1, -1, -1, 0, 1} and {0, 1, 1, 1, 0, -1, -1, -1} were chosen for dx[dir] and dy[dir]? [closed]
- Accessing inactive union member and undefined behavior?
- What XML parser should I use in C++? [closed]
- Unions and type-punning
- AVX2 what is the most efficient way to pack left based on a mask?
- How to convert vector to array
- Why is there an injected class name?
- Is it better to use std::memcpy() or std::copy() in terms to performance?
- Dual emission of constructor symbols
- What is constructor inheritance?
- Why function template cannot be partially specialized?
- How do I get the index of an iterator of an std::vector?
- How to use std::sort to sort an array in C++
- when g++ static link pthread, cause Segmentation fault, why?
- class & function names highlighting in Vim
- Why is std::fill(0) slower than std::fill(1)?
- Generating a normal map from a height map?
- How to allocate a 2D array of pointers in C++
- Why can’t I capture this by-reference (‘&this’) in lambda?
- Errors when linking to protobuf 3 on MS Visual C
- MSVC 2015 Universal CRT for app-local deployment
- Member fields, order of construction
- Pass arrays from C/C++ to Fortran and return a calculated array
- Why the libc++ std::vector internally keeps three pointers instead of one pointer and two sizes?
- C++ static_cast runtime overhead
- Visual Studio 2017: _mm_load_ps often compiled to movups
- How to determine programmatically if an expression is rvalue or lvalue in C++?
- How can I cin and cout some unicode text?