Files
.github
android
build
doc
python
src
AudioCompress
android
apple
archive
client
command
config
db
decoder
encoder
event
filter
fs
haiku
input
io
java
lib
mixer
neighbor
net
output
pcm
player
playlist
protocol
queue
song
sticker
storage
system
tag
thread
time
unix
util
ASCII.hxx
Alloc.cxx
Alloc.hxx
AllocatedArray.hxx
AllocatedString.hxx
BindMethod.hxx
BitReverse.cxx
BitReverse.hxx
ByteOrder.hxx
ByteReverse.cxx
ByteReverse.hxx
Cast.hxx
CharUtil.hxx
CircularBuffer.hxx
Clamp.hxx
Compiler.h
ConcatString.hxx
ConstBuffer.hxx
DeleteDisposer.hxx
DereferenceIterator.hxx
DivideString.cxx
DivideString.hxx
Domain.hxx
DynamicFifoBuffer.hxx
Exception.cxx
Exception.hxx
ForeignFifoBuffer.hxx
FormatString.cxx
FormatString.hxx
GenerateArray.hxx
HexFormat.cxx
HexFormat.hxx
HugeAllocator.cxx
HugeAllocator.hxx
IntrusiveList.hxx
IterableSplitString.hxx
LazyRandomEngine.cxx
LazyRandomEngine.hxx
Manual.hxx
Math.hxx
MimeType.cxx
MimeType.hxx
NumberParser.cxx
NumberParser.hxx
OffsetPointer.hxx
OptionDef.hxx
OptionParser.cxx
OptionParser.hxx
PeakBuffer.cxx
PeakBuffer.hxx
PrintException.cxx
PrintException.hxx
RecursiveMap.hxx
ReusableArray.hxx
RuntimeError.hxx
ScopeExit.hxx
SliceBuffer.hxx
SparseBuffer.cxx
SparseBuffer.hxx
SplitString.cxx
SplitString.hxx
StaticFifoBuffer.hxx
StringAPI.hxx
StringBuffer.hxx
StringCompare.cxx
StringCompare.hxx
StringFormat.hxx
StringPointer.hxx
StringStrip.cxx
StringStrip.hxx
StringUtil.cxx
StringUtil.hxx
StringView.cxx
StringView.hxx
TStringView.hxx
TemplateString.hxx
TextFile.hxx
Tokenizer.cxx
Tokenizer.hxx
TransformN.hxx
TruncateString.cxx
TruncateString.hxx
UTF8.cxx
UTF8.hxx
UriExtract.cxx
UriExtract.hxx
UriQueryParser.cxx
UriQueryParser.hxx
UriRelative.cxx
UriRelative.hxx
UriUtil.cxx
UriUtil.hxx
VarSize.hxx
WCharUtil.hxx
WStringAPI.hxx
WStringCompare.cxx
WStringCompare.hxx
WStringView.hxx
WritableBuffer.hxx
format.c
format.h
meson.build
win32
zeroconf
BulkEdit.hxx
Chrono.hxx
CommandLine.cxx
CommandLine.hxx
GitVersion.cxx
GitVersion.hxx
IcyMetaDataParser.cxx
IcyMetaDataParser.hxx
Idle.cxx
Idle.hxx
IdleFlags.cxx
IdleFlags.hxx
Instance.cxx
Instance.hxx
Listen.cxx
Listen.hxx
LocateUri.cxx
LocateUri.hxx
Log.cxx
Log.hxx
LogBackend.cxx
LogBackend.hxx
LogInit.cxx
LogInit.hxx
LogLevel.hxx
LogV.hxx
Main.cxx
Main.hxx
Mapper.cxx
Mapper.hxx
MixRampInfo.hxx
MusicBuffer.cxx
MusicBuffer.hxx
MusicChunk.cxx
MusicChunk.hxx
MusicChunkPtr.cxx
MusicChunkPtr.hxx
MusicPipe.cxx
MusicPipe.hxx
Partition.cxx
Partition.hxx
Permission.cxx
Permission.hxx
PlaylistDatabase.cxx
PlaylistDatabase.hxx
PlaylistError.cxx
PlaylistError.hxx
PlaylistFile.cxx
PlaylistFile.hxx
PlaylistPrint.cxx
PlaylistPrint.hxx
PlaylistSave.cxx
PlaylistSave.hxx
PluginUnavailable.hxx
RemoteTagCache.cxx
RemoteTagCache.hxx
RemoteTagCacheHandler.hxx
ReplayGainConfig.hxx
ReplayGainGlobal.cxx
ReplayGainGlobal.hxx
ReplayGainInfo.cxx
ReplayGainInfo.hxx
ReplayGainMode.cxx
ReplayGainMode.hxx
SingleMode.cxx
SingleMode.hxx
SongLoader.cxx
SongLoader.hxx
SongPrint.cxx
SongPrint.hxx
SongSave.cxx
SongSave.hxx
SongUpdate.cxx
StateFile.cxx
StateFile.hxx
StateFileConfig.cxx
StateFileConfig.hxx
Stats.cxx
Stats.hxx
TagAny.cxx
TagAny.hxx
TagArchive.cxx
TagArchive.hxx
TagFile.cxx
TagFile.hxx
TagPrint.cxx
TagPrint.hxx
TagSave.cxx
TagSave.hxx
TagStream.cxx
TagStream.hxx
TimePrint.cxx
TimePrint.hxx
ls.cxx
ls.hxx
open.h
subprojects
systemd
test
win32
.clang-format
.gitignore
.travis.yml
AUTHORS
COPYING
NEWS
README.md
meson.build
meson_options.txt
mpd.svg
valgrind.suppressions
mpd/src/util/WStringView.hxx
2019-01-22 08:38:03 +01:00

46 lines
1.7 KiB
C++

/*
* Copyright (C) 2013-2017 Max Kellermann <max.kellermann@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WSTRING_VIEW_HXX
#define WSTRING_VIEW_HXX
#include "StringView.hxx"
#include <wchar.h>
struct WStringView : BasicStringView<wchar_t> {
using BasicStringView::BasicStringView;
WStringView() = default;
constexpr WStringView(BasicStringView<value_type> src) noexcept
:BasicStringView(src) {}
};
#endif