new file: LSList.h
new file: LSListItem.h new file: LSMacros.h modified: LSString.h modified: LSString.vcxproj new file: LSVector.h modified: main.cpp
This commit is contained in:
parent
6e22717a81
commit
4f9b04c049
7 changed files with 194 additions and 26 deletions
|
@ -1,23 +1,9 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include "LSMacros.h"
|
||||
|
||||
class LSString
|
||||
{
|
||||
private:
|
||||
#define DELETE_POINTER(Pointer) \
|
||||
if (Pointer != nullptr)\
|
||||
{\
|
||||
delete Pointer;\
|
||||
Pointer = nullptr;\
|
||||
}
|
||||
|
||||
#define DELETE_ARRAY(Array) \
|
||||
if (Array != nullptr)\
|
||||
{\
|
||||
delete[] Array;\
|
||||
Array = nullptr;\
|
||||
}
|
||||
|
||||
public:
|
||||
// - Constructor
|
||||
LSString() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue