Skip to content

Commit

Permalink
Add docuentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Jan 8, 2025
1 parent 307cc12 commit aa41919
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xtd.core/include/xtd/collections/generic/enumerator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ namespace xtd {
/// @param items The collection to create an enumerator on.
/// @param current_version A pointer on the collection current version.
/// @return The enumerator created.
/// @remarks This method is used for xtd frameork enumerables.
/// @par Examples
/// The following code shows how to use xtd::collections::generic::enumerable::create method to create a simple enumerator on any std or xtd collections.
/// @include generic_ienumerable3.cpp
template <typename collection_t, typename vertion_t = std::nullptr_t>
static auto create(const collection_t& items, const vertion_t* current_version = nullptr) noexcept {
using value_type = typename collection_t::value_type;
Expand Down

0 comments on commit aa41919

Please sign in to comment.