OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
timestamp.hpp File Reference

Provides a function object to retrieve the current timestamp as a string. More...

Classes

struct  oxy::get_timestamp_fn
 Function object to retrieve the current timestamp as a string. More...

Namespaces

namespace  oxy
 This root namespace contains the common types and operations for the OXY-API library.

Variables

constexpr get_timestamp_fn oxy::get_timestamp
 A constexpr instance of the get_timestamp_fn function object for use in functional programming.

Detailed Description

Provides a function object to retrieve the current timestamp as a string.

This header defines the get_timestamp_fn function object, which retrieves the current timestamp as a string. The function object can be used to obtain the current date and time in a human-readable format, suitable for logging or display purposes. The implementation may vary depending on the platform and the desired timestamp format.

@license MPL-2.0