]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
strtol: Add parse/consume for string_view friendly interface 37809/head
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 6 Mar 2020 04:13:47 +0000 (23:13 -0500)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2020 09:51:10 +0000 (10:51 +0100)
commitc20af1649fb9c2fc86b23320fa2a2acaa3616918
tree2f681c6b1272be539de308f7a6696214d247bbf5
parent8a2e4302d103170faa3a82dcc738271c493142ae
strtol: Add parse/consume for string_view friendly interface

Also these don't have the stringstream overhead.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit a29695e82ec8a93b000322773949f30694abf3d3)
src/common/strtol.h
src/test/strtol.cc