You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/stdlib/base.rst
-4
Original file line number
Diff line number
Diff line change
@@ -438,10 +438,6 @@ Types
438
438
439
439
Compute a type that contains the intersection of ``T`` and ``S``. Usually this will be the smallest such type or one close to it.
440
440
441
-
.. function:: Val{c}()
442
-
443
-
Create a "value type" instance out of ``c``, which must be an ``isbits`` value. The intent of this construct is to be able to dispatch on constants, e.g., ``f(Val{false}())`` allows you to dispatch directly to an implementation ``f(::Val{false})``, without having to test the boolean value at runtime.
0 commit comments