Comments (9)
On Sat, May 28, 2016 at 08:08:42PM -0700, Kartik Singhal wrote:
$ man std::ref No manual entry for std::ref
while
$ man -k std::ref std::ref,std::cref(3), std::ref(3), std::cref(3) - std::ref,std::cref std::reference_wrapper(3) - std::reference_wrapper std::reference_wrapper::get,std::reference_wrapper::operatorT&(3), std::reference_wrapper::get(3), std::reference_wrapper::operatorT&(3) - std::reference_wrapper::get,std::reference_wrapper::operatorT& std::reference_wrapper::operator()(3) - std::reference_wrapper::operator() std::reference_wrapper::operator=(3) - std::reference_wrapper::operator= std::reference_wrapper::reference_wrapper(3) - std::reference_wrapper::reference_wrapper
Hey there. The std::ref is grouped with std::cref on cppref, so they're
grouped automatically here, too. You can tell by reading the first line
of the man -k std::ref
output, after the dash.
You need to run: man std::ref,std::cref
from stdman.
@jeaye yes, I figured that out, but it reduces the utility of man page. It would be awesome and save some keystrokes if one could just do a man std::ref
or man std::cref
and reach the same man page. Most C-related functions allow that, e.g. see man getc
and man getchar
.
from stdman.
Agreed!
from stdman.
More annoyance when even search doesn't work:
$ man -k std::cin
std::cin: nothing appropriate.
$ man std::cin std::wcin
No manual entry for std::cin
No manual entry for std::wcin
$ man std::cin,std::wcin # works
from stdman.
On Tue, Jun 21, 2016 at 11:41:11AM -0700, Kartik Singhal wrote:
More annoyance when even search doesn't work:
$ man -k std::cin std::cin: nothing appropriate. $ man std::cin std::wcin No manual entry for std::cin No manual entry for std::wcin $ man std::cin,std::wcin # works
Searching should work, and the merging of those is a known issue (cppref
merges them into one page, so they end up as one man page). Have you run
sudo updatedb
, as the install process suggests? Without it, your
searches won't work.
from stdman.
@jeaye oh yes, you are right. I recently installed stdman on a new Linux machine and probably missed to run the sudo mandb
step (not updatedb
). Works fine now. Thanks!
from stdman.
On Tue, Jun 21, 2016 at 01:21:19PM -0700, Kartik Singhal wrote:
@jeaye oh yes, you were right. I recently installed stdman on a new Linux machine and probably missed to run the
sudo mandb
step (notupdatedb
). Works fine now. Thanks!
Ah, right my mistake. I keep it in the install process for people like
me, who forget the right commands all the time. :)
from stdman.
As a workaround, some versions of man
allow you to use *
for globbing, so you can do man std::ref\*
.
from stdman.
Closing this as things that I complained about seem to be working find now. 😄
from stdman.
Related Issues (20)
- std::async Synopsis formatting is messed up HOT 1
- New release HOT 1
- mac HOT 1
- Tags/Releases synced with cppreference archive updates HOT 3
- cannot completion when pressing man std::string:: + tab HOT 5
- No manual entry for std::string_view HOT 1
- Suggestion to avoid need for MANPATH or installation in /usr/local
- equations in docs HOT 7
- functional manpage HOT 1
- How to man same name but from different header?
- cannot completion when pressing man std::string:: + tab HOT 1
- Minor cleanup coding format of <code>...</code>
- No manual entry for member functions HOT 6
- new tag release? HOT 2
- Non-printing characters in some manpages
- Some of the man pages don't include the examples from the website HOT 3
- Tag for 2022.02.01 missing? HOT 1
- New release HOT 5
- mandb warnings with some operators
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stdman.