[#absl-Notification-2constructor-01]
= xref:absl.adoc[absl]::xref:absl/Notification.adoc[Notification]::Notification
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;absl&sol;synchronization&sol;notification&period;h&gt;`

Constructs a notification with an unnotified &quot;notified&quot; state&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Notification/2constructor-0f1.adoc[Notification]();
----

[.small]#xref:absl/Notification/2constructor-0f1.adoc[_» more&period;&period;&period;_]#

Deleted copy constructor&semi; `Notification` is not copyable&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Notification/2constructor-0f8.adoc[Notification](xref:absl/Notification.adoc[Notification] const& other) = delete;
----

[.small]#xref:absl/Notification/2constructor-0f8.adoc[_» more&period;&period;&period;_]#

Constructs a notification with an explicit initial &quot;notified&quot; state&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/Notification/2constructor-00.adoc[Notification](bool prenotify);
----

[.small]#xref:absl/Notification/2constructor-00.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *prenotify*
| The initial value of the &quot;notified&quot; state&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
