work on string, bug fixes, overloaded assignment operator. Still need to get overloaded copy_construct for declaration assignment
This commit is contained in:
@@ -19,8 +19,8 @@ CCodeTriple::CCodeTriple() {
|
||||
CCodeTriple::~CCodeTriple() {
|
||||
}
|
||||
|
||||
std::string CCodeTriple::oneString() {
|
||||
return preValue + value + postValue;
|
||||
std::string CCodeTriple::oneString(bool endValue) {
|
||||
return preValue + value + (endValue ? ";" : "") + postValue;
|
||||
}
|
||||
|
||||
CCodeTriple & CCodeTriple::operator=(const CCodeTriple &rhs) {
|
||||
|
||||
Reference in New Issue
Block a user