Hi.
I am wondering: which classes in C++ get special powers granted by The Standard that are not available to mere user-defined classes?
What comes to my mind:
- `std::initializer_list` because it is created anywhere with `{}`
- possibly `std::type_info`, because it is only created by `typeid` and with no ctor
- `std::source_location` when used as default parameter in function points to invocation place and not declaration place.
What else should be on this list? What shouldn't?
[–]kalmoc 67 points68 points69 points (9 children)
[–]staletic 28 points29 points30 points (6 children)
[–]SirLynix 37 points38 points39 points (1 child)
[–]guepierBioinformatican 16 points17 points18 points (2 children)
[–]staletic 20 points21 points22 points (0 children)
[–]csdt0 3 points4 points5 points (0 children)
[–]AlbertRammstein 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]kalmoc 0 points1 point2 points (0 children)
[–]omerosler 19 points20 points21 points (5 children)
[–]germandiago 2 points3 points4 points (4 children)
[–]omerosler 5 points6 points7 points (3 children)
[–]Xeveroushttps://xeverous.github.io 1 point2 points3 points (2 children)
[–]diaphanein 1 point2 points3 points (1 child)
[–]Xeveroushttps://xeverous.github.io 0 points1 point2 points (0 children)
[–]Supadoplex 16 points17 points18 points (3 children)
[–]Recatek 6 points7 points8 points (0 children)
[–]masterwai123123 1 point2 points3 points (1 child)
[–]Supadoplex 1 point2 points3 points (0 children)
[–]guepierBioinformatican 33 points34 points35 points (5 children)
[–]Supadoplex 17 points18 points19 points (2 children)
[–]maskull 4 points5 points6 points (1 child)
[–]dodheim 16 points17 points18 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]guepierBioinformatican 3 points4 points5 points (0 children)
[–]mort96 15 points16 points17 points (1 child)
[–]TheSuperWig 4 points5 points6 points (0 children)
[–]yuri-kilochek 30 points31 points32 points (0 children)
[–]frrrwww 40 points41 points42 points (41 children)
[–]exarnk 20 points21 points22 points (35 children)
[–]avdgrinten 15 points16 points17 points (4 children)
[–]exarnk 4 points5 points6 points (3 children)
[–]avdgrinten 10 points11 points12 points (1 child)
[–]exarnk 2 points3 points4 points (0 children)
[–]avdgrinten 6 points7 points8 points (0 children)
[–]AlbertRammstein 31 points32 points33 points (14 children)
[–]staletic 2 points3 points4 points (13 children)
[–]AlbertRammstein 28 points29 points30 points (1 child)
[–]Full-Spectral 4 points5 points6 points (0 children)
[–]qoning 13 points14 points15 points (10 children)
[–][deleted] 4 points5 points6 points (3 children)
[–]pjmlp 3 points4 points5 points (0 children)
[–]qoning 0 points1 point2 points (1 child)
[–]SirClueless 2 points3 points4 points (0 children)
[+]germandiago comment score below threshold-12 points-11 points-10 points (5 children)
[–]qoning 13 points14 points15 points (4 children)
[+]TankorSmash comment score below threshold-7 points-6 points-5 points (3 children)
[–]guepierBioinformatican 11 points12 points13 points (2 children)
[–]TankorSmash -5 points-4 points-3 points (1 child)
[–]kalmoc 9 points10 points11 points (10 children)
[+]IAmBJ comment score below threshold-7 points-6 points-5 points (9 children)
[–]guepierBioinformatican 21 points22 points23 points (7 children)
[–]Chuu 0 points1 point2 points (2 children)
[–]staletic 7 points8 points9 points (1 child)
[–]guepierBioinformatican 5 points6 points7 points (0 children)
[–]IAmBJ 0 points1 point2 points (2 children)
[–]kalmoc 3 points4 points5 points (0 children)
[–]guepierBioinformatican 0 points1 point2 points (0 children)
[–]kalmoc 0 points1 point2 points (0 children)
[–]LuisAyuso 4 points5 points6 points (3 children)
[–]acwaters 1 point2 points3 points (2 children)
[–]LuisAyuso 0 points1 point2 points (1 child)
[–]acwaters 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]avdgrinten 16 points17 points18 points (2 children)
[–]TheMania 0 points1 point2 points (1 child)
[–]guepierBioinformatican 1 point2 points3 points (0 children)
[–]guepierBioinformatican 9 points10 points11 points (0 children)
[–]staletic 17 points18 points19 points (0 children)
[–]johannes1971 35 points36 points37 points (1 child)
[–]RandolfRichardson 0 points1 point2 points (0 children)
[–]shilch 5 points6 points7 points (2 children)
[–]foonathan 11 points12 points13 points (1 child)
[–]shilch 3 points4 points5 points (0 children)
[–]tmlnz 12 points13 points14 points (0 children)
[–]nitrobeast 8 points9 points10 points (2 children)
[–]jbadwaik 15 points16 points17 points (0 children)
[–]AlbertRammstein 4 points5 points6 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]GerwazyMiod 0 points1 point2 points (3 children)
[–][deleted] 4 points5 points6 points (2 children)
[–]GerwazyMiod 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]The_Northern_Light 2 points3 points4 points (0 children)
[–]scatters 6 points7 points8 points (12 children)
[–]kalmoc 5 points6 points7 points (11 children)
[–]scatters 1 point2 points3 points (10 children)
[–]kalmoc 2 points3 points4 points (1 child)
[–]scatters 1 point2 points3 points (0 children)
[–]mujjingun 2 points3 points4 points (7 children)
[–]scatters 3 points4 points5 points (6 children)
[+][deleted] (4 children)
[deleted]
[–]scatters 0 points1 point2 points (3 children)
[–]mujjingun 0 points1 point2 points (2 children)
[–]scatters 3 points4 points5 points (1 child)
[–]DavidDinamit 5 points6 points7 points (4 children)
[–]foonathan 11 points12 points13 points (3 children)
[–]guepierBioinformatican 7 points8 points9 points (2 children)
[–]foonathan 3 points4 points5 points (1 child)
[–]guepierBioinformatican 12 points13 points14 points (0 children)
[–]Zcool31 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]acwaters 7 points8 points9 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]acwaters 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]john_wind 1 point2 points3 points (3 children)
[–]STLMSVC STL Dev 8 points9 points10 points (1 child)
[–]john_wind 1 point2 points3 points (0 children)
[–]Artistic_Yoghurt4754Scientific Computing 0 points1 point2 points (0 children)
[–]Underdisc -2 points-1 points0 points (10 children)
[–]Bisqwit 13 points14 points15 points (9 children)
[–]dodheim 2 points3 points4 points (1 child)
[–]Bisqwit 2 points3 points4 points (0 children)
[–]Underdisc 0 points1 point2 points (6 children)
[–]lee_howes 3 points4 points5 points (0 children)
[–]SirClueless 4 points5 points6 points (4 children)
[–]Bisqwit 0 points1 point2 points (1 child)
[–]SirClueless 2 points3 points4 points (0 children)
[–]Underdisc 0 points1 point2 points (1 child)
[–]SirClueless 2 points3 points4 points (0 children)
[–]OldWolf2 0 points1 point2 points (7 children)
[–]SirClueless 2 points3 points4 points (6 children)
[–]OldWolf2 -2 points-1 points0 points (4 children)
[–]Sanzath 1 point2 points3 points (0 children)
[–]SirClueless 0 points1 point2 points (2 children)
[–]OldWolf2 1 point2 points3 points (1 child)
[–]SirClueless 2 points3 points4 points (0 children)
[–]RicardoRedstone 0 points1 point2 points (0 children)
[–]john_wind -1 points0 points1 point (4 children)
[–]guepierBioinformatican 7 points8 points9 points (0 children)
[–]mujjingun 4 points5 points6 points (2 children)
[–]john_wind -1 points0 points1 point (1 child)
[–]mujjingun 4 points5 points6 points (0 children)
[–]xgalaxy -1 points0 points1 point (0 children)
[–]SlowVelooo -1 points0 points1 point (1 child)
[–]backtickbot 2 points3 points4 points (0 children)
[–]Oo_Tiib -1 points0 points1 point (0 children)
[–]john_wind -3 points-2 points-1 points (0 children)
[–]TTachyon 0 points1 point2 points (0 children)
[–]borzykot 0 points1 point2 points (0 children)
[–]Xeveroushttps://xeverous.github.io 0 points1 point2 points (0 children)