Update 'C++GUIDE.md'

This commit is contained in:
Guille Gutierrez 2023-04-26 10:10:55 -04:00
parent 870cf7536c
commit b8d208f2e4

View File

@ -212,34 +212,6 @@ namespace sample {
```
##### .cpp Example
```c++
/*
SPDX - License - Identifier: GPL-3.0-or-later
Copyright © 2022 Concordia CERC group
Project Coder Guillermo Gutierrez Morote <Guillermo.GutierrezMorote@concordia.ca>
*/
/// \file person.cpp
#include <memory>
#include "person.hpp"
namespace sample {
Person::Person(std::string name)
{
this->name = name;
}
Person::get_name()
{
return this->name;
}
}
```
Attributes with known units should be explicit in method's comment.
```c++