array insertions
This commit is contained in:
@ -9,6 +9,12 @@ namespace ams
|
||||
//psize must be supplied to determine whether to execute in threaded mode or not.
|
||||
template<typename callable, typename ... argst> int threaded_execute(callable &&fptr, int64_t psize, argst&&... args);
|
||||
|
||||
|
||||
//A template function that takes as input a function pointer and a series of arguments
|
||||
//The function is executed with fptr(threadnum, nthreads, otherargs...) with a given number of threads
|
||||
template<typename callable, typename ... argst> int numthreaded_execute(callable &&fptr, int nthreads, argst&&... args);
|
||||
|
||||
|
||||
template<typename T1, typename T2> struct pair
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user