This page contains documentation related to safely constructing a Bipartition instance.
- See also
- The `make` function for an overview of possible uses of the this function.
|
| template<typename Return, typename Container> |
| enable_if_is_same< Return, Bipartition > | make (Container const &cont) |
| | Check the arguments, construct a bipartition, and check it.
|
| |
| template<typename Return> |
| enable_if_is_same< Return, Bipartition > | make (std::initializer_list< std::vector< int32_t > > const &cont) |
| | Check the arguments, construct a Blocks object, and check it.
|
| |
| template<typename Return> |
| enable_if_is_same< Return, Bipartition > | make (std::initializer_list< uint32_t > const &cont) |
| | Check the arguments, construct a bipartition, and check it.
|
| |
◆ make() [1/3]
template<typename Return, typename Container>
- Template Parameters
-
- Parameters
-
| cont | either a vector providing a lookup for the blocks of the bipartition or a vector of vectors (or initializer list). |
- Exceptions
-
◆ make() [2/3]
template<typename Return>
- Template Parameters
-
| Container | the type of the parameter cont. |
| Return | the return type. Must satisfy std::is_same<Return, Blocks>. |
- Parameters
-
| cont | container containing a lookup for the blocks. |
- Exceptions
-
◆ make() [3/3]
template<typename Return>
Check the arguments, construct a Blocks object, and check it.
- Template Parameters
-
| Container | the type of the parameter cont. |
| Return | the return type. Must satisfy std::is_same<Return, Blocks>. |
- Parameters
-
| cont | container containing a lookup for the blocks. |
- Exceptions
-