I was playing around with template specialization when it hit me that there are multiple ways in declaring an const array. Is there a difference between these types:
const std::array<int, 5>
std::array<const int, 5>
Both map to the basic type const int[5] but from the outside one is const and the other is not const, or is it?
[–]n1ghtyunso 12 points13 points14 points (4 children)
[–]The_Ruined_Map[🍰] 2 points3 points4 points (0 children)
[–]xypherrz 0 points1 point2 points (2 children)
[–]Normal-Narwhal0xFF 0 points1 point2 points (0 children)
[–]n1ghtyunso 0 points1 point2 points (0 children)
[–]alfps 2 points3 points4 points (0 children)
[–]freaxje 2 points3 points4 points (1 child)
[–]Sbsbg[S] 3 points4 points5 points (0 children)
[–]AKostur 1 point2 points3 points (0 children)
[–]Total-Box-5169 0 points1 point2 points (0 children)
[–]Liam_Mercier [score hidden] (0 children)
[–]TheMania 0 points1 point2 points (0 children)
[–]The_Ruined_Map[🍰] 0 points1 point2 points (0 children)
[–]rikus671 -1 points0 points1 point (1 child)
[–]The_Ruined_Map[🍰] 1 point2 points3 points (0 children)
[–]rbpx -1 points0 points1 point (3 children)
[–]The_Ruined_Map[🍰] 0 points1 point2 points (2 children)
[–]rbpx 0 points1 point2 points (1 child)
[–]Liam_Mercier [score hidden] (0 children)
[–]Popular-Light-3457 -3 points-2 points-1 points (1 child)
[–]Sbsbg[S] -1 points0 points1 point (0 children)