## SmartPtr::begin() method


Accessor for [begin()](./) method of an underling collection. Only compiles if [SmartPtr_](../smartptr_/) is specialization type with [begin()](./) method.

```cpp
template<typename Q> decltype(std::declval<Q>().begin()) System::SmartPtr<T>::begin()
```


### ReturnValue

iterator to the begin of collection

## See Also

* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## SmartPtr::begin() const method


Accessor for [begin()](./) method of an underling collection. Only compiles if [SmartPtr_](../smartptr_/) is specialization type with [begin()](./) method.

```cpp
template<typename Q> decltype(std::declval<const Q>().begin()) System::SmartPtr<T>::begin() const
```


### ReturnValue

iterator to the begin of collection

## See Also

* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
