## SmartPtr::end() method


Accessor for [end()](./) method of an underling collection. Only compiles if [SmartPtr_](../smartptr_/) is specialization type with [end()](./) method.

```cpp
template<typename Q> decltype(std::declval<Q>().end()) System::SmartPtr<T>::end()
```


### ReturnValue

iterator to the end of collection

## See Also

* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## SmartPtr::end() const method


Accessor for [end()](./) method of an underling collection. Only compiles if [SmartPtr_](../smartptr_/) is specialization type with [end()](./) method.

```cpp
template<typename Q> decltype(std::declval<const Q>().end()) System::SmartPtr<T>::end() const
```


### ReturnValue

iterator to the end of collection

## See Also

* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
