federico-busato / Modern-CPP-Programming

Modern C++ Programming Course (C++03/11/14/17/20/23/26)

Home Page:https://federico-busato.github.io/Modern-CPP-Programming/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in 02.Basic_Concepts_I.pdf

ilovexyz opened this issue · comments

On page 26, the code example note said "nullptr is a pointer"

int* p2 = nullptr; // ok, nullptr is a pointer not a number

however, the bottom of the slide said "Remember: nullptr is not a pointer, but an object of type nullptr t → safer", this conflicts with above comment.

@ilovexyz that's a good point. I also took the opportunity to reorganize a bit the slide
image