Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

core.internal.array.utils

This module contains utility functions to help the implementation of the runtime hook
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
enum auto isNoThrow(alias F);
Check if the function F is calleable in a nothrow scope.
Parameters:
F Function that does not take any parameters
Returns:
if the function is callable in a nothrow scope.
template isPostblitNoThrow(T)
Check if the type T's postblit is called in nothrow, if it exist
Parameters:
T Type to check
Returns:
if the postblit is callable in a nothrow scope, if it exist. if it does not exist, return true.