Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
7b696b8e9f | |||
245715b10a | |||
f843736067 | |||
d38be14633 | |||
7d6e3dc7f5 | |||
b091bc90bc | |||
0ed2d0a53d | |||
49c5b47230 | |||
c004f8c2ef |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/doc
|
||||
*.user
|
||||
temp
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2016 Amebis
|
||||
Copyright 2016-2017 Amebis
|
||||
|
||||
This file is part of stdex.
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <assert.h>
|
||||
#include <Windows.h>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -37,7 +39,7 @@
|
||||
// Product version as a single DWORD
|
||||
// Note: Used for version comparison within C/C++ code.
|
||||
//
|
||||
#define STDEX_VERSION 0x01000000
|
||||
#define STDEX_VERSION 0x01000100
|
||||
|
||||
//
|
||||
// Product version by components
|
||||
@@ -47,11 +49,11 @@
|
||||
//
|
||||
#define STDEX_VERSION_MAJ 1
|
||||
#define STDEX_VERSION_MIN 0
|
||||
#define STDEX_VERSION_REV 0
|
||||
#define STDEX_VERSION_REV 1
|
||||
#define STDEX_VERSION_BUILD 0
|
||||
|
||||
//
|
||||
// Human readable product version and build year for UI
|
||||
//
|
||||
#define STDEX_VERSION_STR "1.0"
|
||||
#define STDEX_VERSION_STR "1.0.1"
|
||||
#define STDEX_BUILD_YEAR_STR "2016"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2016 Amebis
|
||||
Copyright 2016-2017 Amebis
|
||||
|
||||
This file is part of stdex.
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace stdex {
|
||||
/// \param[in] end Position limit. Default is -1 (no limit).
|
||||
///
|
||||
/// \returns
|
||||
/// - true when succeeded
|
||||
/// - false otherwise
|
||||
/// - \c true when succeeded
|
||||
/// - \c false otherwise
|
||||
///
|
||||
template <class T_ID>
|
||||
inline bool read_id(_In_ std::istream& stream, _Out_ T_ID &id, _In_opt_ std::streamoff end = (std::streamoff)-1)
|
||||
@@ -56,8 +56,8 @@ namespace stdex {
|
||||
/// \param[in] stream Input stream
|
||||
///
|
||||
/// \returns
|
||||
/// - true when successful
|
||||
/// - false otherwise
|
||||
/// - \c true when successful
|
||||
/// - \c false otherwise
|
||||
///
|
||||
template <class T_SIZE, unsigned int ALIGN>
|
||||
inline bool ignore(_In_ std::istream& stream)
|
||||
@@ -84,8 +84,8 @@ namespace stdex {
|
||||
/// \param[in] end Position limit. Default is -1 (no limit).
|
||||
///
|
||||
/// \returns
|
||||
/// - true when found
|
||||
/// - false otherwise
|
||||
/// - \c true when found
|
||||
/// - \c false otherwise
|
||||
///
|
||||
template <class T_ID, class T_SIZE, unsigned int ALIGN>
|
||||
inline bool find(_In_ std::istream& stream, _In_ T_ID id, _In_opt_ std::streamoff end = (std::streamoff)-1)
|
||||
@@ -178,7 +178,14 @@ namespace stdex {
|
||||
///
|
||||
/// \param[in] d Reference to record data
|
||||
///
|
||||
inline record(_In_ T &d) : data( d) {}
|
||||
inline record(_In_ T &d) : data(d) {}
|
||||
|
||||
|
||||
///
|
||||
/// Constructs the class
|
||||
///
|
||||
/// \param[in] d Reference to record data
|
||||
///
|
||||
inline record(_In_ const T &d) : data((T&)d) {}
|
||||
|
||||
|
||||
@@ -230,8 +237,8 @@ namespace stdex {
|
||||
/// \param[in] end Position limit. Default is -1 (no limit).
|
||||
///
|
||||
/// \returns
|
||||
/// - true when found
|
||||
/// - false otherwise
|
||||
/// - \c true when found
|
||||
/// - \c false otherwise
|
||||
///
|
||||
static inline bool find(_In_ std::istream& stream, _In_opt_ std::streamoff end = (std::streamoff)-1)
|
||||
{
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2016 Amebis
|
||||
Copyright 2016-2017 Amebis
|
||||
|
||||
This file is part of stdex.
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2016 Amebis
|
||||
Copyright 2016-2017 Amebis
|
||||
|
||||
This file is part of stdex.
|
||||
|
||||
|
Reference in New Issue
Block a user