Search found 4 matches

by _Java
November 4th, 2017, 5:19 am
Forum: Everything
Topic: Constructor
Replies: 24
Views: 79960

Re: Constructor

albinopapa wrote:Well, the reason to pass the array as cyber does is to maintain the compilers knowledge of size I'm guessing.
Oh in that case sounds pretty useful.
by _Java
November 4th, 2017, 1:31 am
Forum: Everything
Topic: Constructor
Replies: 24
Views: 79960

Re: Constructor

Makes sense now. Seems like overkill kind of when I could pass a pointer, and yea std::array looks nice. I have not looked into it.
by _Java
November 3rd, 2017, 5:05 pm
Forum: Everything
Topic: Constructor
Replies: 24
Views: 79960

Re: Constructor

I guess most people who don't do metaprogramming wouldn't have much knowledge nor use for array types. When you deal with arrays, they would usually decompose into pointers. However, you need to realise that arrays are not just pointers but are their very own type. Instead of decomposing them into ...
by _Java
June 27th, 2017, 10:13 pm
Forum: Everything
Topic: Branching vs calculation
Replies: 7
Views: 2832

Re: Branching vs calculation

Pretty interesting how some things like this defy our own logic. :shock:
But it made sense after thinking about it for a minute, and its always fun to consider this kinds of stuff.
Thanks for sharing ;)