Add size member function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2004-08-27 03:58:31 +00:00
parent 7acb866f10
commit fc093bd081
3 changed files with 12 additions and 0 deletions

View File

@ -62,6 +62,10 @@ namespace llvm {
if (NewSize > storage_.size())
storage_.resize(NewSize, nullVal_);
}
typename StorageT::size_type size() const {
return storage_.size();
}
};
} // End llvm namespace

View File

@ -62,6 +62,10 @@ namespace llvm {
if (NewSize > storage_.size())
storage_.resize(NewSize, nullVal_);
}
typename StorageT::size_type size() const {
return storage_.size();
}
};
} // End llvm namespace

View File

@ -62,6 +62,10 @@ namespace llvm {
if (NewSize > storage_.size())
storage_.resize(NewSize, nullVal_);
}
typename StorageT::size_type size() const {
return storage_.size();
}
};
} // End llvm namespace