Added code to initialize and destroy string variables in classes
- Will require being able to add strings to non-native classes to actually test this.
This commit is contained in:
parent
15208188de
commit
7c8cff64e6
5 changed files with 211 additions and 30 deletions
14
src/tarray.h
14
src/tarray.h
|
|
@ -94,17 +94,23 @@ public:
|
|||
{
|
||||
return &Array[0];
|
||||
}
|
||||
const_iterator begin() const
|
||||
{
|
||||
return &Array[0];
|
||||
}
|
||||
const_iterator cbegin() const
|
||||
{
|
||||
return &Array[0];
|
||||
}
|
||||
|
||||
iterator end()
|
||||
{
|
||||
return &Array[Count];
|
||||
}
|
||||
|
||||
const_iterator cbegin() const
|
||||
const_iterator end() const
|
||||
{
|
||||
return &Array[0];
|
||||
return &Array[Count];
|
||||
}
|
||||
|
||||
const_iterator cend() const
|
||||
{
|
||||
return &Array[Count];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue