Document number: D0000R0
Date: 2019-05-28
Project: WG21, Library Working Group
Author: Charles Milette [email protected]
This proposal allows assigning a type convertible to a std::string_view
to a std::filesystem::path
.
#pragma once | |
#include <algorithm> | |
#include <cstdint> | |
struct SColour { | |
// Red, green and blue | |
uint8_t r, g, b; | |
// Hue, saturation and value |
using FirstFloor.ModernUI.Windows.Controls; | |
using Microsoft.Win32; | |
using System; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Media.Imaging; |
using BitmapToBase64; | |
using FirstFloor.ModernUI.Windows.Controls; | |
using Microsoft.Win32; | |
using System; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using System.Web; | |
using System.Windows; | |
using System.Windows.Controls; |
#include <string> | |
#include <windows.h> | |
#include "swcadef.h" | |
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam) | |
{ | |
std::wstring className; | |
className.resize(257); // According to docs, maximum length of a class name is 256, but it's ambiguous | |
// wether this includes the null terminator or not. |
namespace impl { | |
constexpr bool IsDecimalDigit(wchar_t character) | |
{ | |
return character >= L'0' && character <= L'9'; | |
} | |
constexpr bool IsCapitalHexDigit(wchar_t character) | |
{ | |
return character >= L'A' && character <= L'F'; | |
} |
#include <string> | |
#include <tuple> | |
#include <utility> | |
template<typename T, typename U> | |
constexpr auto operator ,(T&& a, U&& b) | |
{ | |
return std::make_tuple(std::forward<T>(a), std::forward<U>(b)); | |
} |
Document number: D0000R0
Date: 2019-05-28
Project: WG21, Library Working Group
Author: Charles Milette [email protected]
This proposal allows assigning a type convertible to a std::string_view
to a std::filesystem::path
.
#pragma once | |
#include "arch.h" | |
#include <dwmapi.h> | |
#include <functional> | |
#include <string> | |
#include <windef.h> | |
#include <winuser.h> | |
#ifdef _TRANSLUCENTTB_EXE | |
#include <filesystem> |
#include <cstddef> | |
#include <filesystem> | |
#include <iostream> | |
#include <memory> | |
#include <Shlobj.h> | |
#include <string> | |
#include <winver.h> | |
#include <wil/resource.h> | |
#include "version.hpp" |
I hereby claim:
To claim this, I am signing this object: