Macro tikv_util::count_args [−][src]
Gets the count of macro’s arguments.
Examples
assert_eq!(count_args!(), 0); assert_eq!(count_args!(1), 1); assert_eq!(count_args!(1, 2), 2); assert_eq!(count_args!(1, 2, 3), 3);
Gets the count of macro’s arguments.
assert_eq!(count_args!(), 0); assert_eq!(count_args!(1), 1); assert_eq!(count_args!(1, 2), 2); assert_eq!(count_args!(1, 2, 3), 3);