The need arises where the language allows different entities to be named with the same identifier as long as they occupy a different namespace (where a namespace is typically defined by a module, class, or explicit namespace directive) or have different signatures (such as function overloading).
Although name mangling is not generally required or used by languages that do not support function overloading (such as C and classic Pascal), they use it in some cases to provide additional information about a function.
In particular, our clang-style FORTIFY implementation makes use of clang-specific attributes and language extensions, as well as some function overloading (clang will happily apply C++ overloading rules to your C functions if you use its overloadable attribute).
特别是,Clang 风格的 FORTIFY 实现不仅支持某些函数重载(如果您使用 overloadable 属性,Clang 可以非常顺利地对 C 函数应用 C++ 重载规则 ) , 还可以充分利用一些特定于 Clang 的属性和语言扩展。
Added CustomSymbolCreate function overloading. This allows the creation of a custom trading symbol based on an existing one. After creation, any symbol property can be edited using corresponding functions.
Function Overloading The idea of overloading is simple: The compiler allows you to define two functions or procedures using the same name, provided that the parameters are different.
函数重载 重载的思想很简单:编译器允许你用同一名字定义多个函数或过程,只要它们所带的参数不同。
Ad hoc polymorphism: when a function denotes different and potentially heterogeneous implementations depending on a limited range of individually specified types and hoc polymorphism is supported in many languages using function overloading.
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.
Não foram achados resultados para esta acepção.
Sinônimos e analogias para "function overloading" em inglês