Added char * << to MString for string assignment.
This commit is contained in:
1 parent
287933f9ce
commit
d8df083d6b
5 files changed
+73
-1
No files matched your search
@@ -2,6 +2,8 @@
|
||||
#define __MString_h__
|
||||
|
||||
#include "ZString.h"
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
namespace coreutils {
|
||||
|
||||
@@ -56,6 +58,24 @@ namespace coreutils {
|
||||
|
||||
MString& operator=(coreutils::ZString& data);
|
||||
|
||||
///
|
||||
/// Assignment operator will copy data to backing store.
|
||||
///
|
||||
|
||||
MString& operator=(const char *data);
|
||||
|
||||
///
|
||||
/// Assignment operator will copy data to backing store.
|
||||
///
|
||||
|
||||
MString& operator=(char data);
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
MString& operator<<(const char *value);
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user