Skip to content
#

cpp11

cpp logo

C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.

Here are 2,540 public repositories matching this topic...

nyurik
nyurik commented Dec 16, 2019

This is more of a question, as I couldn't find it in the documentation. Does aria2 do any checks when downloading a file from multiple sources to ensure all of them are actually referencing the same file? Some basic checks might be based on comparing: 1) file size, 2) date (might not be consistent or even available), 3) first and last few bytes, 4) small chunk overlap, and compare the small ove

openpose
arduinepo
arduinepo commented Apr 10, 2020

Hi,
I thank you very much for your excellent work. However, I endure difficulties understanding your code ; my Java and Python training explain it a bit, but I think it would be great for everyone if it was documented. I mean a short explanation of each - complex - function, its role and its algorithm. I would be especially interested in a documentation of the tracker.
I thank you very much in a

galkinvv
galkinvv commented Jan 21, 2020

The doc is great! Hoewever some areas are still missing.
C++11 intoduced raw string literals: https://en.cppreference.com/w/cpp/language/string_literal

It is useful in many different areas, like strings with quotes, multiline strings and for example windows paths without escaping backslashes:

const char win_path[] = R"(c:\some\unescaped\path)";

The same cppreference link als

Panquesito7
Panquesito7 commented Apr 1, 2020

Problem

When revoking privileges to yourself, it can take a little long to type the command to revoke a privilege.
I'd like to add a revokeme command to make it shorter and quicker to revoke privileges to yourself.

Solutions

Create a new command (like grantme) that revokes an specified privilege to yourself.

Alternatives

revoke is an alternative, however it is longer

eyalroz
eyalroz commented Mar 2, 2020

I couldn't find this in the documentation or the FAQ: Is it possible to obtain the current test case's name from within that testcase's code? I mean, it should be, but how do we do it? That should be either in the FAQ or in some other relevant documentation file, IMHO.

dkeeney
dkeeney commented Feb 28, 2020

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection

What I am getting is Connection: close which is the default for HTTP/1.0.
For HTTP/1.1 the default should be Connection: keep-alive.

================================
GET HTTP/1.1 /hi
  Accept: */*
  Connection: close
  Content-Length: 0
  Host: localhost:8050
  REMOTE_ADDR: 127.0.0.1
  User-Agent: cpp-h
ZhongHeyuan
ZhongHeyuan commented Jul 1, 2019

vcpkg install evpp 成功后。

Cmake中使用 find_package(evpp REQUIRED) 报错。
glog等库也是通过vcpkg安装的,可以使用find_package(glog REQUIRED)正常使用。

报错,信息如下:
PS C:\zhy\code\cpp_self\evpp_test\build> cmake -DCMAKE_TOOLCHAIN_FILE=C:/zhy/Lib/vcpkg/scripts/buildsystems/vcpkg.cmake
-G "Visual Studio 16 2019" -A Win32 ..
CMake Error at C:/zhy/Lib/vcpkg/scripts/buildsystems/vcpkg.cmake:266 (_find_package):
By not prov

rp779
rp779 commented Mar 29, 2020

Exercise information

Exercise 2.10

Question or Bug

When you described how local variables are not initialized, you said that they are NOT uninitialized. I believe you should either write not initialized or uninitialized. Saying that local variables are not uninitialized is saying that local variables are initialized, which is incorrect.

here:
local_int is a loca

viboes
viboes commented Sep 28, 2019

As for Display the special operations generated by the compiler #224 discussion, the documentation will improve if we had a section describing the transformation of each featre and his limitations.

In particular for the special operation, to explain that only the operations that are really generated would appear in the transformation. This is due to the fact that the tool s based on the AST.

jonesmz
jonesmz commented Mar 15, 2020
#ifdef BOOST_HANA_CONFIG_ENABLE_STRING_UDL
    //////////////////////////////////////////////////////////////////////////
    // _s user-defined literal
    //////////////////////////////////////////////////////////////////////////
    namespace literals {
        template <typename CharT, CharT ...s>
        constexpr auto operator"" _s() {
            static_assert(std::is_same<Ch
CLI11
sergeyklay
sergeyklay commented Nov 28, 2019

Is there any simple way to get formatted help output for options like this:

Options:
      --option1 TEXT Some description for option1
  -h, --help         Print this help message and quit
      --vernum       Print the version of the application as integer and quit
  -V, --version      Print application version information and quit

Instead of (current behavior):

Options:
flecs
ckhung
ckhung commented Sep 1, 2016

Thank you for this nice project! Unfortunately it is way below most people's radar for now. It deserves better visibility. Can you please add the word "tunneling" somewhere in the homepage? For example I have been searching "rtsp tunneling ssh" and only found ssf in a very indirect way. I suppose other people wanting to ssh-tunnel many other udp-based protocols would also be glad to learn of ssf

Created by Bjarne Stroustrup

Released October 1985

Website
isocpp.org
Wikipedia
Wikipedia
You can’t perform that action at this time.