Archives

Categories

  • No categories

Static class in c# sharp .net

2

The following list provides the main features of a static class: Contains only static members. Cannot be instantiated. Is sealed. Cannot contain Instance Constructors Cannot inherit from any class except Object. . Can have static constructor A static class can Read more ›

Categories
Uncategorized

C++ Truths: using std::copy on std::map iterator pair

0

Sometimes it is useful to be able iterate over all the elements of a std::map using standard algorithms like std::copy(), std::count(), std::min_element(), std::max_element(). These standard functions do not work out of the box using std::map::iterator. For example, if you want Read more ›

Categories
Uncategorized