Usuário:Bielhpp: mudanças entre as edições
De Pontão Nós Digitais
Ir para navegaçãoIr para pesquisar
(my personal note) |
mSem resumo de edição |
||
Linha 3: | Linha 3: | ||
I'm Gabriel Andrade from LabVis (IPRJ-UERJ). I will put here some notes on kinda modern C++ for myself and others | I'm Gabriel Andrade from LabVis (IPRJ-UERJ). I will put here some notes on kinda modern C++ for myself and others | ||
C++, since C++ 11, does not compare boolean with pointer. Use nullptr or NULL instead | C++, since C++ 11, does not compare boolean with pointer. Use nullptr or NULL instead. | ||
There are problems with unique_ptr to deal with into LEMSVPE project [https://stackoverflow.com/questions/59172316/use-of-deleted-function-unique-ptr check this link] | There are problems with unique_ptr to deal with into LEMSVPE project. Solution found: use shared_ptr. [https://stackoverflow.com/questions/59172316/use-of-deleted-function-unique-ptr check this link] [https://stackoverflow.com/questions/39703954/why-am-i-getting-compile-error-use-of-deleted-function-stdunique-ptr and this one] |
Edição das 18h43min de 17 de junho de 2023
Hi,
I'm Gabriel Andrade from LabVis (IPRJ-UERJ). I will put here some notes on kinda modern C++ for myself and others
C++, since C++ 11, does not compare boolean with pointer. Use nullptr or NULL instead.
There are problems with unique_ptr to deal with into LEMSVPE project. Solution found: use shared_ptr. check this link and this one