xtd 0.2.0
Loading...
Searching...
No Matches
from.hpp File Reference
#include "enumerable.hpp"

Definition

Contains xtd::linq::from methods.

Go to the source code of this file.

Namespaces

namespace  xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 
namespace  xtd::linq
 Provides classes and interfaces that support queries that use Language-Integrated Query (LINQ).
 

Functions

template<typename source_t >
const xtd::collections::generic::ienumerable< source_t > & xtd::linq::from (const xtd::collections::generic::ienumerable< source_t > &source) noexcept
 Returns the input typed as xtd::collection::generic::ienumerable <type_t>.
 
template<typename source_t >
const xtd::collections::generic::ienumerable< source_t > & xtd::linq::from (const std::initializer_list< source_t > &source) noexcept
 Returns the input typed as xtd::collection::generic::ienumerable <type_t>.
 
template<typename collection_t >
const auto & xtd::linq::from (const collection_t &source) noexcept
 Returns the input typed as xtd::collection::generic::ienumerable <type_t>.
 
template<typename input_iterator_t >
const auto & xtd::linq::from (input_iterator_t first, input_iterator_t last) noexcept
 Returns the input typed as xtd::collection::generic::ienumerable <type_t>.
 
template<typename input_iterator_t >
const auto & xtd::linq::from (input_iterator_t iterator, size_t length) noexcept
 Returns the input typed as xtd::collection::generic::ienumerable <type_t>.
 
template<typename source_t , size_t length>
const auto & xtd::linq::from (const source_t(&array)[length]) noexcept
 Returns the input typed as xtd::collection::generic::ienumerable <type_t>.