STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::generators::detail::populate_vertices Struct Reference

Functor which adds vertices to a generated graph with the default property. More...

Public Member Functions

template<typename T , typename V >
void operator() (T x, V &view)
 

Public Types

typedef void result_type
 

Detailed Description

Functor which adds vertices to a generated graph with the default property.

This is used when the user does not provide a vertex generation functor.

Member Function Documentation

◆ operator()()

template<typename T , typename V >
void stapl::generators::detail::populate_vertices::operator() ( x,
V &  view 
)
Parameters
xId of the vertex to add.
viewView over the graph to which the vertex is added.

The documentation for this struct was generated from the following file: