General C++ Programming - October 2022 (Page 3)

On order of data members only
 
Does the order of data members only in class (so many) matter and is it quite influential in accesses efficiency ? if yes or no, how is each logical reasons ?...
[4 replies] Last: "alignment" When I did look at SSE/SSE2 intrinsics (long time ago, be... (by keskiverto)
How do we change an operator character in c++
 
Anyone very knowledgeable in C++ so able to change an operator character ? e.g. a != b become a >< b What the real wanted or asked is the constructor i...
[17 replies] Last: BTW, a**b**c should be a**(b**c) :) :) right associative. but which... (by seeplus)
Have gcc i.e. GNU c++ compiler ignore shebang
 
This error urges act on how to make GNU c++ ignore shebang: m.cpp:1:2: error: invalid preprocessing directive #! 1 | #!/usr/bin/vim Please do favour solv...
[2 replies] Last: @ abdul I am unsure why you have this obsession with doing weird thin... (by Duthomhas)
! and ~ in an enum data type
 
What is accurate detail difference on operator ! and ~ in an enum data type operation (as read one's code of it)? isn't just the same negation?
[3 replies] Last: > operator ! and ~ in an enum data type These arithmetic operators ar... (by JLBorges)
October 2022 Pages: 123
  Archived months: [sep2022] [nov2022]

This is an archived page. To post a new message, go to the current page.