forked from boostorg/unordered
Since all the compilers support out of line template members use them
and lots of other things. [SVN r56329]
This commit is contained in:
@@ -116,7 +116,7 @@ bool compare(Range1 const& x, Range2 const& y)
|
||||
}
|
||||
|
||||
template <class Container>
|
||||
bool general_erase_range_test(Container& x, int start, int end)
|
||||
bool general_erase_range_test(Container& x, std::size_t start, std::size_t end)
|
||||
{
|
||||
collide_list l(x.begin(), x.end());
|
||||
l.erase(boost::next(l.begin(), start), boost::next(l.begin(), end));
|
||||
|
||||
@@ -10,7 +10,7 @@ struct foo {
|
||||
|
||||
template <class T>
|
||||
template <class U>
|
||||
bool foo<T>::bar(U x) { return x; }
|
||||
bool foo<T>::bar(U x) { return x ? true : false; }
|
||||
|
||||
int main() {
|
||||
foo<int> x;
|
||||
|
||||
Reference in New Issue
Block a user