Skip to content

Commit b250fac

Browse files
Gregory-Meyerhwu36
andauthored
Make operator() const-correct and add missing static functions. (PaddlePaddle#936)
* Make operator() const-correct and add missing static functions. Currently, `*Converter::operator()` requires a mutable object to invoke, and there are missing `static result_type convert(source_type const & source)` overloads for certain partial specializations of `*Converter` objects. This commit makes `operator()` const-correct and adds missing function overloads where appropriate. * minor changes * format --------- Co-authored-by: Haicheng Wu <[email protected]>
1 parent 24c8b7d commit b250fac

File tree

1 file changed

+99
-83
lines changed

1 file changed

+99
-83
lines changed

0 commit comments

Comments
 (0)