]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/common: use concept for type constraints 49010/head
authorKefu Chai <tchaikov@gmail.com>
Tue, 22 Nov 2022 12:22:54 +0000 (20:22 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 23 Nov 2022 12:09:12 +0000 (20:09 +0800)
commitca7dc80ea060a14a23d7a4ade59f99657e67483b
treeb4b18aba996fbb82f302299f6ef49211bfbc7039
parente070ec36f7907e6de87bcf3b75859188dad84fe4
crimson/common: use concept for type constraints

instead of using SFINAE, use concept for specifying the type constraints
for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/crimson/common/errorator.h
src/crimson/common/interruptible_future.h