mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
docs: use consistent style for comment blocks
prefix comment blocks with ///
This commit is contained in:
@@ -15,13 +15,13 @@
|
||||
namespace concretelang {
|
||||
namespace serverlib {
|
||||
|
||||
// Helper class template that yields an unsigned integer type given a
|
||||
// size in bytes
|
||||
/// Helper class template that yields an unsigned integer type given a
|
||||
/// size in bytes
|
||||
template <std::size_t size> struct int_type_of_size {};
|
||||
template <> struct int_type_of_size<4> { typedef uint32_t type; };
|
||||
template <> struct int_type_of_size<8> { typedef uint64_t type; };
|
||||
|
||||
// Converts one function pointer into another
|
||||
/// Converts one function pointer into another
|
||||
// TODO: Not sure this is valid in all implementations / on all
|
||||
// architectures
|
||||
template <typename FnDstT, typename FnSrcT> FnDstT convert_fnptr(FnSrcT src) {
|
||||
|
||||
Reference in New Issue
Block a user