Update templates
This commit is contained in:
parent
74f3f561d9
commit
78b59d1008
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@file Template.cpp
|
||||
@file MyNamespaceTemplate.cpp
|
||||
@brief A_brief_description_for_this_file
|
||||
@author Tobias Blomberg / SM0SVX
|
||||
@date 2020-
|
||||
|
|
@ -26,7 +26,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
\endverbatim
|
||||
*/
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* System Includes
|
||||
|
|
@ -69,37 +68,32 @@ using namespace MyNamespace;
|
|||
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Static class variables
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Local class definitions
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Prototypes
|
||||
* Local functions
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Exported Global Variables
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Local Global Variables
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
}; /* End of anonymous namespace */
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
|
|
@ -109,11 +103,13 @@ using namespace MyNamespace;
|
|||
|
||||
Template::Template(void)
|
||||
{
|
||||
|
||||
} /* Template::Template */
|
||||
|
||||
|
||||
Template::~Template(void)
|
||||
{
|
||||
|
||||
} /* Template::~Template */
|
||||
|
||||
|
||||
|
|
@ -131,6 +127,8 @@ Template::~Template(void)
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* This file has not been truncated
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -123,6 +123,16 @@ class Template
|
|||
*/
|
||||
Template(void);
|
||||
|
||||
/**
|
||||
* @brief Disallow copy construction
|
||||
*/
|
||||
Template(const Template&) = delete;
|
||||
|
||||
/**
|
||||
* @brief Disallow copy assignment
|
||||
*/
|
||||
Template& operator=(const Template&) = delete;
|
||||
|
||||
/**
|
||||
* @brief Destructor
|
||||
*/
|
||||
|
|
@ -137,13 +147,11 @@ class Template
|
|||
protected:
|
||||
|
||||
private:
|
||||
Template(const Template&);
|
||||
Template& operator=(const Template&);
|
||||
|
||||
}; /* class Template */
|
||||
|
||||
|
||||
} /* namespace */
|
||||
} /* namespace MyNamespace */
|
||||
|
||||
#endif /* TEMPLATE_INCLUDED */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue