예제 #1
0
 void update(id<string>& type,array<T>& units)
 {
  check(!type.is_empty());
  
  _type=type;
  get()=units;
 }
예제 #2
0
 int compare(self& value)
 {
  return ::compare
  (
   _type,value._type,
   get(),value.get()
  );
 }
예제 #3
0
 string string_()
 {
  return get().join("");
 }
예제 #4
0
 operator T()
 {
  return get();
 }