Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Algo/Count.h |
| Include | #include "Algo/Count.h" |
namespace Algo
{
template<typename InT, typename ValueT, typename ProjectionT>
SIZE_T Algo::CountBy
(
const InT & Input,
const ValueT & InValue,
ProjectionT Proj
)
}
Remarks
Counts elements of a range whose projection equals the supplied value
Parameters
| Name | Description |
|---|---|
| Input | Any iterable type |
| InValue | Value to compare against |
| Projection | The projection to apply to the element |