コード例 #1
0
ファイル: type_string.cpp プロジェクト: AviMoto/hiphop-php
HOT_FUNC
String String::operator+(CStrRef str) const {
  if (empty()) return str;
  if (str.empty()) return *this;
  return NEW(StringData)(slice(), str.slice());
}