当浏览Kotlin的stdlib时,I often see the @InlineOnly
注释.据我回忆,注释恰好只在inline
个函数上.这个注释的目的是什么?inline
个函数总是内联的,这不是很明显吗?它的文档并没有真正的帮助
Specifies that this function should not be called directly without inlining
Is it possible for inline functions to be called not inline?