Difference between revisions of "User talk:Ctsolakis"

From crtc.cs.odu.edu
Jump to: navigation, search
(Extension SyntaxHighlight test)
(Extension SyntaxHighlight test)
Line 19: Line 19:
 
pass
 
pass
 
</syntaxhighlight>
 
</syntaxhighlight>
<syntaxhighlight lang="C++" line='line'>
+
<syntaxhighlight lang="C++">
 
template<typename Fn, Fn fn, typename... Args>
 
template<typename Fn, Fn fn, typename... Args>
 
typename std::result_of<Fn(Args...)>::type
 
typename std::result_of<Fn(Args...)>::type

Revision as of 16:52, 22 September 2017

test text

test section

test text

Extension SyntaxHighlight test

https://www.mediawiki.org/wiki/Extension:SyntaxHighlight

def quickSort(arr):
	less = []
	pivotList = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass
template<typename Fn, Fn fn, typename... Args>
typename std::result_of<Fn(Args...)>::type
wrapper(Args&&... args) {
    return fn(std::forward<Args>(args)...);
}
#define WRAPPER(FUNC) wrapper<decltype(&FUNC), &FUNC>