STYLE: rename toLabel, toLabelRange classes -> labelOp, labelRangeOp

- make purpose as functors _slightly_ clearer.

- base definition removed for stricter enforcement of the specialization
  requirement.
This commit is contained in:
Mark Olesen
2018-04-11 22:48:03 +02:00
parent 97dc9f4029
commit fc5895f1df
8 changed files with 33 additions and 20 deletions

View File

@ -426,7 +426,7 @@ int main(int argc, char *argv[])
auto output = ListOps::create<label>
(
input,
toLabel<int64_t>()
labelOp<int64_t>()
);
Info<< "label (from int64): " << flatOutput(output) << endl;
}
@ -438,7 +438,7 @@ int main(int argc, char *argv[])
auto output = ListOps::create<label>
(
input,
toLabel<int32_t>()
labelOp<int32_t>()
);
Info<< "label (from int32): " << flatOutput(output) << endl;
}