Question: Need help with a few functions / / compares the underlying pointers for equalitys template bool operator = = ( const ListIterator& i , const

Need help with a few functions
// compares the underlying pointers for equalitys
template
bool
operator==(const ListIterator& i, const ListIterator& j)
{
// TODO -- be sure to not accidently make this an infinite recursive call!
}
// size-value constructor
explicit List (size_type count, const value_type& value = T ()) : List ()
{
// TODO
// insert count copies of value into the list
// NOTE: depends on default constructor working
}
// range constructor
template
List (InputIt first, InputIt last) : List ()
{
// TODO
// insert the range [first, last) into the list
// NOTE: depends on default constructor working
// probably depends on insert or push_back working, too
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!