| Random Link ¯\_(ツ)_/¯ | ||
| Jun 4, 2022 | » | User-Defined Types
(5 items)
Classes in C++; Structures in C++; Enumerations in C++; Unions in C++; Inheritance; |
| Jan 2, 2026 | » | Remarks on Numeric Types
2 min; updated Jan 2, 2026
Inconveniences of Unsigned Types in .NET Languages like C++ come with convenient support for unsigned integer types where non-negative values make sense. std::size_t is the unsigned integer type of the sizeof and alignof operators. std::size_t is also used when indexing C++ containers. In contrast, .NET tends to use signed integer types even where unsigned ones would be more intuitive, e.g., List<T>.Count returns an Int32 Indexing into a List<T> takes in an Int32 index .... |