aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2016-09-21 20:37:17 +0300
committerVille Voutilainen <ville@gcc.gnu.org>2016-09-21 20:37:17 +0300
commitb641f833bac3fe7e57f98f68f645aa63eb614d0a (patch)
treeae2d2b476ed53a16d1938ed6aacf96d09b73395d /gcc/java
parent557867852474743abd1e6b2ca678af8a8cf18b51 (diff)
downloadgcc-b641f833bac3fe7e57f98f68f645aa63eb614d0a.zip
gcc-b641f833bac3fe7e57f98f68f645aa63eb614d0a.tar.gz
gcc-b641f833bac3fe7e57f98f68f645aa63eb614d0a.tar.bz2
re PR libstdc++/77288 (Std::experimental::optional::operator= implementation is broken in gcc 6.1)
PR libstdc++/77288 * include/std/optional (__is_optional_impl, __is_optional): Remove. (__converts_from_optional, __assigns_from_optional): New. (optional(_Up&&)): Use is_same instead of __is_optional. (optional(const optional<_Up>&)): Constrain with __converts_from_optional. (optional(optional<_Up>&&)): Likewise. (operator=(_Up&&)): Use is_same instead of __is_optional, check is_same and is_scalar. (operator=(const optional<_Up>&)): Constrain with __converts_from_optional and __assigns_from_optional. (operator=(optional<_Up>&&)): Likewise. * testsuite/20_util/optional/77288.cc: New. * testsuite/20_util/optional/cons/value.cc: Adjust. From-SVN: r240324
Diffstat (limited to 'gcc/java')
0 files changed, 0 insertions, 0 deletions
Unnamed repository; edit this file 'description' to name the repository.root
aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/objects/module.yaml
blob: 518c1aa94b546407c09292499b441da8372b6c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
name: module
long_name: Imported module object
description: |
  Base type for all modules.

  Modules provide their own specific implementation methods, but all modules
  provide the following methods:

methods:
- name: found
  returns: bool
  since: 0.59.0
  description: Returns `true` if the module was successfully imported, otherwise `false`.