November 11th, 2022, 12:41 PM
Oh, heh no, no it doesn't :d
for (auto& i : maps)
{
if (&i.second == this)
{
assert(!getManager().hasActiveMap());
ret = ret &&...
November 11th, 2022, 12:17 PM
Would this be equivalent then?
for (auto&& i : maps)
{
if (i.second == this)
{
assert(!getManager().hasActiveMap());
ret = ret &&...
November 10th, 2022, 07:56 PM
Hello, I was hoping someone could help me understand the conditional in this for loop:
for (auto i = maps.begin(); i != maps.end(); i++)
{
if (&((*i).second) == this)
{
...
January 27th, 2021, 12:40 PM
I have a problem I am attempting to handle. What I have is a 6 Boolean's and I need to check the state of each of those against their current value in another method, and if any of them are different...
January 13th, 2021, 12:52 PM
Okay, so I think I get it now. When you have a * it's sort of just a way of pointing at the original data rather than re-declaring it. I thought maybe I had to use the & operator somehow but I guess...
January 12th, 2021, 01:19 PM
Hey guys, I am just starting to learn C++ here, and I am a bit confused by this method:
extern const char* getOwnerSerNoString(void);
which is defined as follows:
const char*...