Usuário:Bielhpp: mudanças entre as edições

De Pontão Nós Digitais
Ir para navegaçãoIr para pesquisar
mSem resumo de edição
mSem resumo de edição
Linha 6: Linha 6:


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]
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]
On lemsvxl, if you are facing problems with coin3d, simply build the bgui3d first [https://vxl.github.io/doc/release/contrib/brl/bbas/bgui3d/html/index.html source]

Edição das 18h49min 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

On lemsvxl, if you are facing problems with coin3d, simply build the bgui3d first source