cpp4python icon indicating copy to clipboard operation
cpp4python copied to clipboard

Misplaced line of code in section 2.5.1.1.

Open PeturOA opened this issue 1 year ago • 0 comments

Section 2.5.1.1. The address-of operator, & includes the following:

The address-of operator & does exactly what it indicates, variableType varN; // a variable to hold the value namely it returns the address.

And the corresponding line is missing from the next code block.

Looking at lines 525-534 in the following commit: https://github.com/pearcej/cpp4python/commit/8ab95eb32145579baafc85ee860784e96d108ab4 the line

variableType varN; // a variable to hold the value

appears to have been accidentally moved out of place.

PeturOA avatar Jan 30 '24 14:01 PeturOA