gpt4 book ai didi

julia - Julia 中的 NotImplementedException?

转载 作者:行者123 更新时间:2023-12-03 13:52:09 26 4
gpt4 key购买 nike

NET Framework 中的 C# 有一个方便的 NotImplementedException ,我可以从我打算稍后编写的代码部分中抛出。

Julia 中是否有类似的断言?

最佳答案

只需使用 error("unimplemented")throw("unimplemented") .这些异常只是为了警告您某些东西尚未实现,因此您可能不想通过代码捕获或处理它们。 ErrorException甚至 ASCIIString足够。

关于julia - Julia 中的 NotImplementedException?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36296965/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com