[#BloombergLP-bdlb-Guid-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Guid.adoc[Guid]::Guid
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlb&lowbar;guid&period;h&gt;`

Construct a zero&hyphen;initialized guid object&period; Note that a zero&hyphen; initialized guid object is not a GUID according to RFC 4122&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/Guid/2constructor-04.adoc[Guid]();
----

[.small]#xref:BloombergLP/bdlb/Guid/2constructor-04.adoc[_» more&period;&period;&period;_]#

Construct a guid object with the internal buffer set equal to the specified `buffer` with the first byte representing the most significant byte&period; Note that this method does guarantee that the created guid object is a GUID&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlb/Guid/2constructor-0b.adoc[Guid](unsigned char const(& buffer)[]);
----

[.small]#xref:BloombergLP/bdlb/Guid/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Construct a guid object with an internal buffer composed from the specified `timeLow`, `timeMid`, `timeHiAndVersion`, `clockSeqHiRes`, `clockSeqLow`, and `node` as specified by RFC 4122&period; Note that only the least significant 48 bits of `node` are used in constructing the guid&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/Guid/2constructor-07.adoc[Guid](
    unsigned long timeLow,
    unsigned short timeMid,
    unsigned short timeHiAndVersion,
    unsigned char clockSeqHiRes,
    unsigned char clockSeqLow,
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] node);
----

[.small]#xref:BloombergLP/bdlb/Guid/2constructor-07.adoc[_» more&period;&period;&period;_]#


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