* @brief Analog to @b `std::memset`, but with a more efficient implementation. * @param[in] target The pointer to the target memory region. * @param[in] value The byte value to set. * @param[in] n The number of bytes to copy. * @see https://en.cppreference.com/w/cpp/string/byte/memset */
| 80 | * @see https://en.cppreference.com/w/cpp/string/byte/memset |
| 81 | */ |
| 82 | inline void memset(void *target, char value, std::size_t n) noexcept { |
| 83 | return sz_fill(reinterpret_cast<sz_ptr_t>(target), n, value); |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * @brief Analog to @b `std::memmove`, but with a more efficient implementation. |
no test coverage detected
searching dependent graphs…