⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 void_.rst

📁 C++的一个好库。。。现在很流行
💻 RST
字号:
.. Data Types/Miscellaneous//void_ |100

void\_
======

Synopsis
--------

.. parsed-literal::
    
    struct void\_
    {
        typedef void\_ type;
    };

    template< typename T > struct is_void;


Description
-----------

``void_`` is a generic type placeholder representing "nothing". 

.. In many cases, returning ``void_`` from a metafunction to signal 
   an absence of the requested data leads to a simpler user code than 
   having a separate metafunction specifically for the purpose of 
   performing the corresponding check. 

Header
------

.. parsed-literal::
    
    #include <boost/mpl/void.hpp>


See also
--------

|Data Types|, |pair|, |empty_base|, |bool_|, |int_|, |integral_c|

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -