Explore tweets tagged as #unaryfunction
@420morganjason
Morgan Jason
2 months
#LearnSomethingNew.Tech term of the day💡.*Unary Function*.A unary (or monadic) function takes exactly one argument. #JavaScript.🧠unaryFunction accepts one parameter and adds 10 to it
Tweet media one
0
0
2
@bolg
Raul Arrieta
18 years
class Rule<T> implements UnaryFunction<T>. <-U_U. zzz. ZZZ. .
0
0
0
@sisomoti
しそ
13 years
UnaryFunctionって用語初めてみたけど、ラムダ式の英語名だろうか #boostjp.
1
0
0
@cpp_akira
Akira Takahashi
12 years
とりあえずできた。実装: テスト: あとは、boost名前空間のものを作って、そっちのバージョンはUnaryFunctionじゃなくOutput Iteratorにする。.
0
0
0
@Linda_pp
ドッグ
13 years
そういえば std::for_each の戻り値って,どうして指定した UnaryFunction なんだろう.void で良い気がするけれど..
1
0
0
@SubaruG
銀天すばる(SubaruG)
13 years
同感. OutputIterator かつ UnaryFunction の場合にはエラーにするべき RT @melponn: OutputIterator は「UnaryFunctionであってはならない」という制限があるわけではないので、微妙な感じがする #boostjp.
1
0
1
@uskz
梶本裕介
17 years
するとこれはtransform_iteratorがAssignableなUnaryFunctionを要求するのも問題かもしれない http://dev.activebasic.com/egtra/?p=178.
0
0
0
@eldesh
ELD-R-ESH-2
13 years
一般用語(1引数関数) or std::unary_function<>からかと RT @sisomoti: UnaryFunctionって用語初めてみたけど、ラムダ式の英語名だろうか #boostjp.
1
0
0
@melponn
めるぽん.rs
13 years
OutputIterator は「UnaryFunctionであってはならない」という制限があるわけではないので、微妙な感じがする #boostjp.
0
0
0
@atama_nadenade
頭撫で撫で
10 years
C++のラムダ式もクロージャではあるけどこちらは関数オブジェクトの糖衣構文としての性質の方が強く、以前は何かアルゴリズムを使った時のUnaryFunctionやBinaryFunctionを外部に定義しなければならないという不自然さを解消するために作られた経緯の方が強い。.
0
0
0
@shitaro2021
したろう
7 years
解決した。 template<class InputIt, class UnaryFn> std::for_each(InputIt first, InputIt last, UnaryFunction f); のfirstとlastにEigenの行列(orベクトル)の生ポインタを渡せばよい。.
0
0
1
@TKinugasa
重巡洋艦 キノガッサ
13 years
1引数関数の事。deprecatedになったけど、std::unary_functionってあるよ。RT @sisomoti: UnaryFunctionって用語初めてみたけど、ラムダ式の英語名だろうか #boostjp.
0
0
0
@c_stackoverflow
C StackOverflow
6 years
question about C pointer on boolean value, [Votes: 1] #c #boolean #unaryfunction.
0
0
0
@PastebinRecent
pastebin recent
8 years
const T& func) {. func(std::declval<Param>());.};. template<typename IT, typename Func>.requires UnaryFunction<Func, decltype(*std::.
0
0
0
@stacktrilogy
Stack Trilogy
15 years
Transform items from iterable with a sequence of unary functions http://bit.ly/cMr0V6 #python #predicate #transform #map #unaryfunction.
0
0
0
@faljme_bot
faljme
12 years
コンピュータ「人間は僕のコプロセッサなのでunaryfunction (bot).
0
0
0
@shakeel_70
Shakeel Malik
1 year
For example:.In this example, unaryFunction only accepts one argument and when it is called it adds 10 to it and prints the result on the console.
0
0
0
@keleshev
Vladimir Keleshev
11 years
@grustaf but when you pattern-match, say, on UnaryFunction(o, e), you will need to cast e to something to do anything on it, right?.
2
0
0